Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin


 One Stop Testing ForumTesting Tools @ OneStopTestingWinRunner @ OneStopTesting

Message Icon Topic: NAVIGATIONAL STEPS FOR WINRUNNER LAB-EXERCISES

Post Reply Post New Topic
Author Message
Mithi25
Senior Member
Senior Member
Avatar

Joined: 23Jun2009
Online Status: Offline
Posts: 288
Quote Mithi25 Replybullet Topic: NAVIGATIONAL STEPS FOR WINRUNNER LAB-EXERCISES
    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 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.


Edited by Mithi25 - 01Aug2009 at 4:41am



Post Resume: Click here to Upload your Resume & Apply for Jobs

IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.516 seconds.
Vyom is an ISO 9001:2000 Certified Organization

© Vyom Technosoft Pvt. Ltd. All Rights Reserved.

Privacy Policy | Terms and Conditions
Job Interview Questions | Placement Papers | Free SMS | Freshers Jobs | MBA Forum | Learn SAP | Web Hosting