|
|
|
Win Runner
A D V E R T I S E M E N T
NAVIGATIONAL STEPS FOR WINRUNNER LAB-EXERCISES
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:
- 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:
- 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:
- Create->Insert function->Function Generator->
(Function name:Invoke_application; File :Flight 1a)
- Click on�paste� and click on�execute� & 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:
- Create->Insert function->Function Generator->
(Function name:Invoke_application; File :Flight 1a)
- Click on�paste� and click on�execute� & 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.
|
Looking for Software Testing eBooks and Interview Questions? Join now and get it FREE!
|
Recommended Resources
• Testing Interview Questions -
http://www.coolinterview.com/type.asp
• Testing Tools Interview Questions -
http://www.coolinterview.com/type.asp
• What is Software Testing?-
http://en.wikipedia.org/wiki/Software_testing
• Software QA & Testing Resource Center-
http://www.softwareqatest.com/
• Testing Faqs-
http://www.testingfaqs.org/ |
|
|
|
|