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

Is there any option by which I can check my database elemnts?

2 Answers 61 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Swarnambar
Top achievements
Rank 1
Swarnambar asked on 14 Dec 2011, 08:33 AM
Hi,

I have created a test and parametrized the steps using the data binding. Now the loads of data are entered into a database table and I need to check the cycle. For example, I am creating a user from the front end and I want to check the database to ensure that the same data is exists in the DB or not.

I am using SQL server 2008. Please let me know if any built in feature available in the tool or else please provide me the sample C# code to check the same.

2 Answers, 1 is accepted

Sort by
0
Accepted
Anthony
Telerik team
answered on 15 Dec 2011, 07:47 PM
Hello Swarnambar,

There is a built-in feature to bind a test from a SQL Database and that is explained here

To interact with that database requires a coded step. See here on how to access the SQL Database in code so you can perform your desired actions.

Regards,
Anthony
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Swarnambar
Top achievements
Rank 1
answered on 16 Dec 2011, 10:40 AM
Dear Anthony,

Thanks a lot for the code snippets of the DB connection.
Tags
General Discussions
Asked by
Swarnambar
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Swarnambar
Top achievements
Rank 1
Share this question
or