How do u test the data in database using Winrunner with out using Database check point?

Showing Answers 1 - 9 of 9 Answers

Narender Reddy

  • Feb 2nd, 2007
 

By using the database

class db_conect:
we use this method to establish a conection with the database

syntax: db_conect("session name","DSN name=.......................")

db_execute_query: We can use this method to execute any given sql statement

syntax: db_execute_query("session name",SQL query,variable)

the variable has the number of records effected in the database db_write_records ("session name","file name");

we use this method to write the results in to a file

  Was this answer useful?  Yes

sahoo_jitendra

  • Feb 6th, 2007
 

u can use manually as DB_CONNECT , DB_EXECUTE_QUERY ....

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions