Hi,
As far as i concerned, we can create the DB checkpoint using Database Query Wizard. Which you will get by Insert -> Check Point -> Database Checkpoint. Once you select Database checkpoint, "Database Query Wizard" window will be opened, and there you have to give your DSN and the query string to verify the values in the DB.
Once done, QTP generates a script "DbTable("DbTable").Check CheckPoint("DbTable")".
Thats all, while running the script QTP executes the query string with the present table details and verifies the values.
I think there is no direct method to pass this query string to "Database Query Wizard".
If anybody knows other ways to pass parameters to "Database Query Wizard" please let me know.
Regards,
Uday.
As far as i concerned, we can create the DB checkpoint using Database Query Wizard. Which you will get by Insert -> Check Point -> Database Checkpoint. Once you select Database checkpoint, "Database Query Wizard" window will be opened, and there you have to give your DSN and the query string to verify the values in the DB.
Once done, QTP generates a script "DbTable("DbTable").Check CheckPoint("DbTable")".
Thats all, while running the script QTP executes the query string with the present table details and verifies the values.
I think there is no direct method to pass this query string to "Database Query Wizard".
If anybody knows other ways to pass parameters to "Database Query Wizard" please let me know.
Regards,
Uday.