Welcome to pickSourcecode.com Login | Register    
pickZy.com
 Home  | search  | games  | General  | C  | C++  | Java  | Php  | Networking  | Visual Basic  | VC++  | Win32  | MFC  | JavaScript  | Jobs  | JavaScript  | Post jobs
QTP page checkpoint       Share
2010-03-11 |  MalathiVanaraj  | Viewed: 2324  |    0




Page checkpoint:

It is for web applications only.Common things to check with this are load time, broken links etc.

  1. Open a blank test.
  2. Make sure tha thttp://www.google.co.in/ is open.(Now only QTP with blank test and www.google.co.in should be open.)
  3. Click on Record. When we click on Record, "Record and Run Settings" window opens up. Go to "Web" tab and choose first option "Record and run test on any open browser." and click ok.
  4. Go to Insert (menu)->Checkpoint->Standard Checkpoint (or press F12).
  5. The mouse pointer will become hand and QTP will be minimized.
  6. Click anywhere on the white space on the Google.co.in page.
  7. It will Open "Object Selection - Checkpoint Properties" window. Click on 'Page : Google' option which has a page icon on left of it with right corner of the page slightly folded.
  8. Click ok.
  9. A 'Page Checkpoint Properties' window opens up. Let all the options be default. Click ok.
  10. Click on Stop in order to stop the Recording.

In the Expert view it will add just one line:

 

Browser("Google").Page("Google").Check CheckPoint("Google")

 

We will explore this line later on.

 

I ran this test by opening www.google.co.in in offline mode (not on internet). It recorded the following properties:

 

Property Name Property Value
load time "0"
number of images "2"
number of links "20"

 

Here it shows the load time as 0 because I did not open Google at the time of running the test, it was already open.

 

When you run it, in the results window, on left hand side, it will show (when every option is expanded):

 

Test Checkpoint-page Summary (where Checkpoint-page is the name with which I saved the test

Run-Time Data Table
Checkpoint-page Iteration 1 (Row 1)
Action1 Summary
Google (This will be the browser)
Google (This will be the Page)
Checkpoint "Google"

 

If you run this test on www.google.com it may fail.


Comments:





Submit comment's

Type:

User Comment's:

Submitted By:
Name: sudha
Prof: Software
Tech: Php ,C
Send Mail: mail2sudha2



Related topics
There is a 50m long army platoon marching ahead. .? - Puzzle
Mr. Bajaj's mother is an Engineer and another is a Doctor. - puzzle
Three men - Sam, Cam and Laurie - are married to Carrie, Billy and Tina? - Puzzle
There are 3 persons X, Y and Z. On some day, X lent tractors to Y and Z as many as they had. .? - Puzzle
A certain street has 1000 buildings. A sign-maker is contracted to number the houses from 1 to 1000..? - Puzzle
DON T EAT TOO MUCH RICE
List of Different Types of Doctors
How to write cover letters
Great Tips for Great Resume
Old carpenter -Story
COIMBATORE ENGINEERING COLLEGES LIST AND ITS SITES
Job Openings in HAL (Especially disabled people.. there is special quota...)
To Reduce Tension in Our Life
Healthy tips
Keep Walking.....-Health tips

Related References
how to draw hexagon diagram? - objective c
to return the key board
recursively delete subdirectories

Web site contents © Copyright 2007, All rights reserved.
Help | Terms and Conditions | Privacy Policy | About Us