What is Check Point?
It carries expected value.
Why We are using Check Points in QTP?
Check point Navigations:
Web based applications:
Navigation: 1. Press .Record <button>, place the cursor in desired location
2 Text Check Point: It checks object’s text property value in different ways.
Navigation: 1. Press .Record <button>
3 Text Area Check Point: It checks text area present in the application.
Navigation: 1. Press .Record <button>
4. Bitmap Check Point: It compares bitmaps as well as part of the bitmaps. To verify the area of a web page (or) Application after capturing it as a bitmap.
Navigation: 1. Press .Record <button>
5 Data Base Check Point: It checks Content of the back-end Data Base.
6 Accessibility Check Point: It checks whether the web page in our web application is developed according to W3C (World Wide Web Consortium) Rules and Regulations or not.
7 XML Check Point:
8 Page Check Point: (insert through the Standard Check Point)
9 Image Check Point: (insert through the Standard Check Point)
10 Table Check Point: (insert through the Standard Check Point)
Check Points In-Detail:
It carries expected value.
Why We are using Check Points in QTP?
Check point Navigations:
1 Standard Check Point: It checks object property values (checking any property value).
Window based applications:
Window (“Window Name”).Object (“Object Name”). Check Checkpoint (“Checkpoint Name”) |
Web based applications:
Browser (“Browser Name”).Page (“Page Name”). Check Checkpoint (“Checkpoint Name”) |
Navigation: 1. Press .Record <button>, place the cursor in desired location
2. F12 or Insert > CP > Standard CP > show the object > click OK <button>
> Selects property and enter expected results & click OK <button>
3. .Stop recording.
2 Text Check Point: It checks object’s text property value in different ways.
Navigation: 1. Press .Record <button>
2. Insert > CP >Text CP > show the object > click OK <button>
> Select Option (Match case: ignore spaces, exact match, text not displayed)
We can select one or more options > Click OK button.
3. .Stop recording.
3 Text Area Check Point: It checks text area present in the application.
Navigation: 1. Press .Record <button>
2. Insert > CP >Text Area CP > mark the area of text
> Select One or More Option (Match case: ignore spaces, exact match, text not displayed) > Click OK button. 3. .Stop recording.
4. Bitmap Check Point: It compares bitmaps as well as part of the bitmaps. To verify the area of a web page (or) Application after capturing it as a bitmap.
Navigation: 1. Press .Record <button>
2. Insert > CP >Bitmap CP > shows the bitmap > Click OK Button.
> Select “check only selected area” option if we want to compare part of the bitmap > Click OK button.
3. .Stop recording.
3. .Stop recording.
5 Data Base Check Point: It checks Content of the back-end Data Base.
Navigation: Insert> CP > Data Base Checkpoint > choose “specify SQL statement manually” option
> Click Next <Button> > Click Create <Button>
> Select machine data source > Select DSN (QT_flight32) > Click OK <Button>
> Enter SQL Statement (select * from orders) > finish > Click OK <Button>
Note: here not in recording mode, no need AUT since data is from back-end
How to Create DSN (Data Source Name):
6 Accessibility Check Point: It checks whether the web page in our web application is developed according to W3C (World Wide Web Consortium) Rules and Regulations or not.
Note: according to our requirements customize this configurable checkpoint:
Tools <menu> > Options > Select Web > Advanced > Check / Uncheck items > click apply > click OK
Navigation: 1. Press .Record >Select Web Environment
2. Insert > CP > Accessibility checkpoint > show the webpage
> Click OK <Button> > Click OK <Button> again. 3. .Stop Recording.
7 XML Check Point:
1 XML Check Point (From Application): It checks the content of the XML File.
Navigation: 1. Press .Record <button> > Select web environment.
2. Insert <menu> > CP > xml CP (from application) > Browse path of the XML file > click OK <button> > click OK <button> again
3. .Stop Recording.
Web based applications:
XMLfile(“FileName.XML”). Check Checkpoint (“Checkpoint Name”) |
Note: If XML file is part of web application, and if separate path is not available then we can choose inserting XML checkpoints from application.
2 XML Check Point (From Resource): It checks the content of the XML File.
Navigation: Insert <menu> > CP > xml CP (from resource) > Browse path of the XML file > click OK <button> > click OK <button> again
Note: If XML file is an individual and path available, and then we can go for inserting xml checkpoint from resource.
8 Page Check Point: (insert through the Standard Check Point)
It checks number of Links, Images and loading time in a web page.
It is hidden checkpoint;
Navigation: 1. Press .Record <button> > Select web environment
2. Insert <menu> > CP > Standard Check Point > show web page
> Click OK <button> > Click OK <button> again.
3. .Stop Recording.
9 Image Check Point: (insert through the Standard Check Point)
It checks Image property values.
Navigation: 1. Press .Record <button> > Select web environment
2. Insert <menu> > CP > Standard Check Point > show web page
> Click OK <button> > Click OK <button> again.
3. .Stop Recording.
Web based applications:
Browser (“Browser Name”).Page (“Page Name”). Image(“ Image Name”).Check Checkpoint (“Checkpoint Name”) |
10 Table Check Point: (insert through the Standard Check Point)
It checks the content of the web tables.
Navigation: 1. Press .Record <button> > Select the web environment
2. Insert <menu> > CP > Standard Check Point > show web table
> Click OK <button> . 3. .Stop Recording.
Web based applications:
Browser (“Browser Name”).Page (“Page Name”). WebTable(“Table Name”) Check Checkpoint (“Checkpoint Name”) |
Check Points In-Detail:
No comments
Post a Comment