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: Using GUI-Spy

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

Joined: 23Jun2009
Online Status: Offline
Posts: 288
Quote Mithi25 Replybullet Topic: Using GUI-Spy
    Posted: 07Jul2009 at 7:21am

Using GUI-SpyEmbarrassed

Using the GUI Spy, you can view and verify the properties of any GUI

object on selected application
  • Tools->Gui Spy…
  • Select Spy On ( select Object or Window)
  • Select Hand icon Button
  • Point the Object or window & Press Ctrl_L + F3.
  • You can view and verify the properties.
Using Virtual Object Wizard:

Using the Virtual Object wizard, you can assign a bitmap to a standard object class, define the coordinates of that object, and assign it a logical name

  • tools->Virtual Object Wizard.
  • Click Next Button
  • Select standard class object for the virtual object Ex: class:Push_button
  • Click Next button
  • Click Mark Object button
  • Drag the cursor to mark the area of the virtual object.
  • Click Next button
  • Assign the Logical Name, This name will appear in the test script when you record object.
  • Select Yes or No check box
  • Click Finish button
  • Go to winrunner window & Create->Start Recording.
  • Do some operations
  • Stop Recording
Using Gui Map Editor:

Using the GUI Map Editor, you can view and modify the properties of any GUI object on selected application.

To modify an object’s logical name in a GUI map file
  • Tools->GUI Map Editor
  • Select Learn button
  • Select the Application A winrunner message box informs “do you want to learn all objects within the window” & select ‘yes’’ button.
  • Select perticular object and select Modify Button
  • Change the Logical Name& click ‘OK’ Button
  • Save the File
To find an object in a GUI map file:
  • Choose Tools > GUI Map Editor.
  • Choose View > GUI Files.
  • Choose File > Open to load the GUI map file.
  • Click Find. The mouse pointer turns into a pointing hand.
  • Click the object in the application being tested. The object is highlighted in the GUI map file.
To highlight an object in a Application:
  • Choose Tools > GUI Map Editor.
  • Choose View > GUI Files.
  • Choose File > Open to load the GUI map file.
  • Select the object in the GUI map file
  • Click Show. The object is highlighted in the Application.
Data Driver Wizard
  • Start->Programs->Wirunner->Sample applications->Flight 1A
  • Open Flight Reservation Application
  • Go to Winrunner window
  • Create->Start recording
  • Select file->new order, insert the fields; Click the Insert Order
  • Tools->Data Table; Enter different Customer names in one row and Tickets in another row.
  • Default that two column names are Noname1 and Noname2.
  • Tools->Data Driver Wizard
  • Click Next button &select the data table
  • Select Parameterize the test; select Line by Line check box
  • Click Next Button
  • Parameterize each specific values with column names of tables;Repeat for all
  • Finalli Click finish button.
  • Run->Run from top;
  • View the results.


Edited by Mithi25 - 07Jul2009 at 7:28am



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.125 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