Print Page | Close Window

GUI CHECK POINTS-For Object/Window Property

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=6566
Printed Date: 08Jan2025 at 4:27pm


Topic: GUI CHECK POINTS-For Object/Window Property
Posted By: Mithi25
Subject: GUI CHECK POINTS-For Object/Window Property
Date Posted: 07Jul2009 at 7:15am

GUI CHECK POINTS-For Object/Window PropertySmile

  • 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 http://www.onestoptesting.com/win-runner/c.asp#"> & stop recording.
  • Create->GUI Check Point->For Multiple Object.
  • Click on some button whose property to be checked.
  • Click on Add button.
  • Click on few objects & Right click to quit.
  • Select each object & select corresponding properties to be checked for that object: click ‘OK’.
  • Run->Run from Top. It displys the results.
BITMAP CHECK POINT:

For object/window.
  • 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.
  • Enter the Username, Password & click ‘OK’ button
  • Open the Order in Flight Reservation Applications
  • Select File->Fax Order& enter Fax Number, Signature
  • Press ‘Cancel’ button.
  • Create->Stop Recording
  • Then open Fax Order in Flight Reservation Application
  • Create->Bitmap Check->For obj.window;
  • Run->run from top.
  • The test fails and you can see the difference.
For Screen Area:
  • Open new Paint Brush file;
  • Create->Bitmapcheck point->from screen area.
  • Paint file pops up; select an image with cross hair pointer.
  • Do slight modification in the paint file(you can also run on the same paint file);
  • Run->Run from Top.
  • The test fails and you can see the difference of images.
DATABASE CHECK POINTS

Using Default check(for MS-Access only)
 
  • Create->Database Check Point->Default check
  • Select the Specify SQL Statement check box
  • Click Next button
  • Click Create button
  • Type New DSN name and Click New button
  • Then select a driver for which you want to set up a database & double clcik that driver
  • Then select Browse button and retype same DSN name and Click save button.
  • Click Next button & click Finish button
  • Select database button & set path of the your database name
  • Click ‘OK’ button & then Click the your DSN window ‘OK’ button
  • Type the SQL query in SQL box
  • Theb click Finish button Note : same process will be Custom Check Point
Runtime Record Check Point.
 
  • Repeat above 10 steps.
  • Type query of two related tables in SQL box Ex: select Orders.Order_Number, Flights.Flight_Number from Orders, Flights where Flight.Flight_Number=Orders.Flight_Number.
  • Select Finish Button
  • Select hand Icon button& select Order No in your Application
  • Click Next button.
  • Select hand Icon button& select Filght No in your Application
  • Click Next button
  • Select any one of the following check box 1. One match record 2. One or more match records. 3. No match record
  • select Finish button the script will be generated.


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



Print Page | Close Window