What the Script for Database Test Using WinRunner

Answer Posted / nehasahu

db_connect("session","dsn=");
db_execute_query("session","query",n);
db_get_row("session","row no", variable);
db_disconnect("session")

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find the local host name using winrunner ?

1689


What is the purpose of regexp_label property?

590


What is debug mode in Winrunner?

1702


When would you use 'set_window' and when would you use 'win_activate'?

705


Welcome link is dynamic. How do you handle? What is your approach and write script.plz send answer

1627






What in contained in the GUI map?

614


plz give me code or steps for pop up exception. or can u tell me how to pause test run for defining handler function?

2065


How to check property of specific icon is highlighted or not?

564


global sheet and external excel sheet how it will work

1409


two file is there how will compate it by useing qtp.

1661


What is the difference between writing a function and writing a script?

749


What are the modes of script recording in winrunner ?

635


How do you modify the logical name or the physical description of the objects in gui map?

647


what is the use of generate script that is avaliable 3 places(file settings, tools, object identification)

1877


Have you ever created a start-up script?

675