What the Script for Database Test Using WinRunner
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / ramprasad.s
db_connect("session","DSN = ---");
db_execute_querry("session"," "DML statement" variable);
For Loop
{
db_get_row("session",i,variable);
}
db_disconnect("session");
| Is This Answer Correct ? | 0 Yes | 0 No |
plz give me code or steps for pop up exception. or can u tell me how to pause test run for defining handler function?
We added data driven test in to our test script, how to remove the data driven wizard from the script?
how to invoke the window based application in win runner
What is the usage of Test case Design Techniques,in Integration/System Testing?
what is the winrunner framework?
how to write the pass or fail message in winrunner for eg: in QTP we can write like "Reporter.reportEvenr,micDon,"Test Test pass"
What is the purpose of regexp_label property?
When Bitmap check point fails..How many windows will appear?
what is mean SRS and URS . differns btwn SRS and URS
What are the synchronization points?
You declared a constant in a main test..Later you want tried to reinitialize that constant..what will happened? i.e const i=10; -- --- i=20; what will happen?
is there any winrunner function which will allow me to send my user defined message to the test result window. i mean to say is there something similar to msgbox(that we use in qtp)in wr? the wr function i want to know is other then report_msg and tl_step.