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 |
how do to stop the functionality of UDF
If u press a push button in an application the winrunner generates tsl statement like button_press(..) i.e the class name of the object and the event on that object but Why if u click a static text in an application the winrunner generates tsl statemen like win_mouse_click rather than the statement with combination of classname and event..??
In my application I was supposed to test two columns.The first column1 belongs to one module and the other column2 belongs to other module.The content in both the columns is same.I supposed to check whether the data present in the column1 is same as the one in column2. Each column contains number of rows.So checking each row manually is diificult.Is there any option available in WinRunner or QTP to check the column data.These two columns are available in Data Base Tables. One way is that I can just number of rows in each column so that I can get rows count of both the columns,but apart from that I was supposed to check whether the data is also same in both the tables. Can anybody suggest me how I can go about this.
How does winrunner Recognize Objects in an application?
how to open an application
What the Script for Database Test Using WinRunner
2 Answers Bally Technologies, CTS,
what is split function?Give me the syntax?
During debugging how do you monitor the value of the variables?
what is mean by test coverage?
can we write exception handlers (object,tsl,pop-up) programatically then how should we insert this in the script?
two file is there how will compate it by useing qtp.
How to remove the data driven wizard from the script?