You are on page 1of 3

NAVIGATIONAL STEPS FOR WINRUNNER LABEXERCISES

Using Rapid Test Script wizard


Start->Program Files->Winrunner->winruner Select the Rapid Test Script Wizard (or) create->Rapid Test Script wizard Click Next button of welcome to script wizard Select hand icon and click on Application window and Cilck Next button Select the tests and click Next button Select Navigation controls and Click Next button Set the Learning Flow(Express or Comprehensive) and click Learn button Select start application YES or NO, then click Next button Save the Startup script and GUI map files, click Next button Save the selected tests, click Next button Click Ok button Script will be generated.then run the scripts. Run->Run from top Find results of each script and select tools->text report in Winrunner test results.

Using GUI-Map Configuration Tool:


Open an application. Select Tools-GUI Map Configuration;Windows pops-up. Click ADD button;Click on hand icon. Click on the object, which is to be configured. A user-defined class for that object is added to list. Select User-defined class you added and press Configure button. Mapped to Class;(Select a corresponding stanadard class from the combo box). You can move the properties from available properties to Learned Properties. By selecting Insert button Select the Selector and recording methods. Click Ok button Now, you will observe Winrunner indentifying the configured objects. Using Record-ContextSensitive mode:

o o o o

Create->Record context Sensitive Select start->program files->Accessories->Calculator Do some action on the application. Stop recording

Run from Top; Press OK.

Using Record-Analog Mode:

o o o o o o o o

Create->Insert Function->from function generator Function name:(select invoke_application from combo box). Click Args button; File: mspaint. Click on paste button; Click on Execute button to open the application; Finally click on Close. Create->Record-Analog. Draw some picture in the paintbrush file. Stop Recording Run->Run from Top; Press OK.

GUI CHECK POINTS-Single Property Check:

o o o o o o o o o o

Create->Insert function->Function Generator-> (Function name:Invoke_application; File :Flight 1a) Click onpaste and click onexecute & close the window. Create->Record Context sensitive. Do some operations & stop recording. Create->GUI Check Point->For single Property. Click on some button whose property to be checked. Click on paste. Now close the Flight1a application; Run->Run from top. Press OK it displays results window. Double click on the result statement. It shows the expected value & actual value window.

GUI CHECK POINTS-For Object/Window Property:

o o o o o o o o o o

Create->Insert function->Function Generator-> (Function name:Invoke_application; File :Flight 1a) Click onpaste and click onexecute & close the window. Create->Record Context sensitive. Do some operations & stop recording. Create->GUI Check Point->Object/Window Property. Click on some button whose property to be checked. Click on paste. 40Now close the Flight 1a application; Run->Run from top. Press OK it displays results window. Double click on the result statement. It shows the expected value & actual value window.

You might also like