Print Page | Close Window

NAVIGATIONAL STEPS FOR WINRUNNER LAB-EXERCISES

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: WinRunner @ OneStopTesting
Forum Discription: WinRunner is an automated functional GUI testing tool that allows a user to record and play back UI interactions as test scripts using a proprietary Test Script Language (TSL).
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=6763
Printed Date: 30Dec2024 at 10:37pm


Topic: NAVIGATIONAL STEPS FOR WINRUNNER LAB-EXERCISES
Posted By: Mithi25
Subject: NAVIGATIONAL STEPS FOR WINRUNNER LAB-EXERCISES
Date Posted: 01Aug2009 at 4:40am

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 http://www.onestoptesting.com/win-runner/b.asp# - - Application window and Cilck Next button
  • Select the tests and click Next button
  • Select Navigation controls and Click Next button
  • Set the http://www.onestoptesting.com/win-runner/b.asp# - - 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 http://www.onestoptesting.com/win-runner/b.asp# - - 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.


-------------
http://www.quick2sms.com - Send Unlimited FREE SMS to Any Mobile Anywhere in INDIA,
Click Here



Print Page | Close Window