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: Why GUI Checkpoint? Why GUI Checkpoint? You c

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

Joined: 23Jun2009
Online Status: Offline
Posts: 288
Quote Mithi25 Replybullet Topic: Why GUI Checkpoint? Why GUI Checkpoint? You c
    Posted: 26Oct2009 at 1:23am

 

Why GUI Checkpoint?

Why GUI Checkpoint?

You can check:

  • the content of a field
  • whether a radio button is on or off
  • whether a pushbutton is enabled or disabled
How to Check GUI Objects?

With Single Object:

  • Point to it in your application
  • Check GUI dialog box opens
  • If required change the default property and expected value
  • Click ok to insert into the test script
With Multiple Object
  • Check GUI dialog box opens
  • Click on Add button and point it to the object
  • Repeat this for all objects
  • Select the properties to check, and click OK to insert a checklist for all the objects into test script.
Adding GUI Checkpoint

With Single Object

  • Choose Create > GUI Checkpoint > For Object/ Window
  • Use the pointer to double- click the Order No. check box.
  • To change the default property click the change button.
  • Click the Paste button to add the script into the code.

 

Assignment 4             GUI Check Point

  •  Start recording in Context Sensitive mode
  •  Open the Open Order dialog box
  •  Create a GUI checkpoint for the Order No. check box
  •  Enter “4” as the Order No
  •  Create a GUI checkpoint for the Customer Name check box
  •  Click OK in the Open Order dialog box to open the order
  •  Stop recording
  •  Save the test
  •  Run the test
  •  Review the results
  •  Open version 1B of the Flight Reservation application
  •  Run the test
  •  Review the results
Adding Bitmap Checkpoints:

If your application contains bitmap areas, such as drawings or graphs, you can check these areas using a bitmap checkpoint. A bitmap checkpoint compares captured bitmap images pixel by pixel.

To create a bitmap checkpoint, you indicate an area, window, or object that you want to check.

 

WinRunner captures a bitmap image and saves it as expected results. It then
inserts an obj_check_bitmap statement into the test script if it captures an object, or a win_check_bitmap statement if it captures an area or window.

When you run the test on a new version of the application, WinRunner compares the expected bitmap with the actual bitmap in the application. If any differences are detected, you can view a picture of the differences from the Test Results window.

Assignment 5             Bitmap Check Point:

  • à
  • Start recording in Context Sensitive mode
  •  Open order #6
  •  Open the Fax Order dialog box
  •  Enter a 10- digit fax number in the Fax Number box
  •  Switch to Analog mode
  •  Sign your name in the Agent Signature box
  •  Switch back to Context Sensitive mode
  •  Insert a bitmap checkpoint that checks your signature
  •  Click the Clear Signature button
  •  Click the Cancel button on the Fax Order dialog box
  •  Stop recording and Save the test
  •  Run the test
  •  Open version 1B of the Flight Reservation application
  •  Run the test
  •  Review the results



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 1.078 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