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 |
During debugging how do you monitor the value of the variables?
What is a checkpoint and what are different types of checkpoints?
What is Diff. between Pause() ,report_msg() statements?
What do you mean by the logical name of the object.
what is Retesting and what is the difference between Retesting and Regression testing?
7 Answers Accenture, Infeneon Technologies,
what is the difference between testlog and testdirector? thank u
how many types of object repositories in winrunner & tell me difference for those
How will you review the test case and how many types are there ?
Tell me the function to export the content from one data table to the other?
1 Answers Landscape Technologies,
1. How will you load the object during run time? 2. How do you close the Task Manager through QTP? 3. How will you handle the situation when object is not captured during record? 4. How QTP support all types of applications (Platforms) 5. What is throw object? 6. Purpose of automation as many points as possible 7. What In-string function will do? 8. In website, protocol has been changed http: to https what you will do? Tell me your Approach? 9. Runtime dynamic settings. 10. Types of exception handling and script for that. 11. On resume next(recovery, do u write the script in notepad, if so, what is the script and how to call it when ever it occurs? ________PLs anyone give me the answers for these questions. Thanks a lot!
what is the syntax for regular expression.dont send the types like regexp_label,regexp_msw_class
Data is there in two excel sheets .. how ur going to retrive the data in winrunner thru script.. write down the script?