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

3 posts, 1 answers
  1. Swarnambar
    Swarnambar avatar
    4 posts
    Member since:
    Sep 2012

    Posted 14 Dec 2011 Link to this post

    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. Answer
    Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 15 Dec 2011 Link to this post

    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
  3. Swarnambar
    Swarnambar avatar
    4 posts
    Member since:
    Sep 2012

    Posted 16 Dec 2011 Link to this post

    Dear Anthony,

    Thanks a lot for the code snippets of the DB connection.
Back to Top