This is a migrated thread and some comments may be shown as answers.

Dynamic SQL Database Binding

1 Answer 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 13 Nov 2013, 05:16 PM
Hi,
The data entered via our GUIs ends up in an SQL database (the database is part of our product).   After validating the ability to interact with the GUI, I want to validate that the data in the database is the same as the data entered via the GUI. 

I understand it is possible to bind a database to a test - during that process a local instance of the database is created and used during subsequent testing (I assume if the data in the original data base changes the local copy is not up dated).  However, in our case the data is dynamically changed during the test run, it follows that the database bound to the test would need to change.  Is it possible to bind an SQL database on the fly, so that I can verify that the entries made via the GUI have actually been recorded in the database?

Cheers
Dave   

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 18 Nov 2013, 11:50 AM
Hello David,

Thank you for contacting us.

Yes you are right that a copy of the data source is made in the Data folder when you bind a test.

Unfortunately to make verifications against the initial database you need to use code.

Please see this article for more information.

Hope this helps.

Regards,
Boyan Boev
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or