What the Script for Database Test Using WinRunner

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to check the background colour of the screen in WR?

1728


What is the purpose of gui spy?

1047


I want to do smoke test in my application but i have learnt the application before recording but im getting an error class name not found while running the script.I want to check each links and each text in my application. Can anybody answer my quesion plz.If it is possible i want test script for Yahoo login form with "New User" Login.

1915


Could you anyone share me the path to download the automation tools which are having trial license version?

1877


i get error "winrruner cannot identify object" and gives details like the physical description of object "windowsFor....378734a_11" has changed descritpion in GUI map new discription Description { { class:object class:object Msw_id:264896 Msw_id:918548 } } Below is a script of functionality where amount is transfered from users account ,first contact summary of user is opened then transfer button is available on which we click .on clicking transfer form opens and various details are entered like amount to be transfer,transfer type .line where i m getting error is obj_mouse_click ("WindowsForms10.Window.8.app have marked it with red in script .0.378734a", 164, 10, i would be very thankful if anyone can give help related to this problem. *SCRIPT IS BELOW:-* > # Shell_TrayWnd > set_window ("Shell_TrayWnd", 1); > toolbar_button_press ("ToolbarWindow32_1", "Contact summary - > Scheme: > SCHEME CARD PROGRAM (admin - Local - V.1.8.2.0000)"); # Button Number > 3; > > # Contact summary - Scheme: SCHEME CARD PROGRAM (admin - Local - > V.1.8.2.0000) > set_window ("Contact summary - Scheme: SCHEME CARD PROGRAM (admin - > Local - V.1.8.2.0000)", 1); > obj_mouse_click ("CommandBar1", 437, 15, LEFT); > > # Transfer (admin - Local - V.1.8.2.0000) > set_window ("Transfer (admin - Local - V.1.8.2.0000)", 1); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a", 164, 10, > LEFT); > > # #32769 > set_window ("#32769", 0); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a_0", 138, 9, > LEFT); > > # Transfer (admin - Local - V.1.8.2.0000) > set_window ("Transfer (admin - Local - V.1.8.2.0000)", 0); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a_1", 166, > 13, LEFT); >

1932


Explain data parameterization in winrunner?

812


Explain the purpose of loading winrunner add-ins?

896


How can withwin runner to make single scripts which supports multiple languages?

878


What in contained in the GUI map?

833


How do you handle dynamically changing area of the window in the bitmap checkpoints?

830


Which are default codes winrunner generates when we start the application?

1847


Are there any suitable free tools to conduct performance test on a php web application?Manual or automation which is preferable for such kind of application? please answer ASAP

2076


What is the purpose of set_window command?

962


How do you suppress a regular expression?

1742


What is the purpose of regexp_label property and regexp_msw_class property?

917