Testing Finder Qtp
-
Upload
cinterviews -
Category
Technology
-
view
980 -
download
3
description
Transcript of Testing Finder Qtp
![Page 1: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/1.jpg)
Testing(web)Presented By
cinterviews.com
www.cinterviews.com
![Page 2: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/2.jpg)
Checkpoints
Used to check the current behavior of the application with the expected behavior.
Text /Text Area Checkpoint
Standard Checkpoint
Table Checkpoint
Page checkpoint
Database Checkpoint
Image Checkpoint
Accessibility Checkpoint
Bitmap Checkpoint
XML Checkpoint
www.cinterviews.com
![Page 3: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/3.jpg)
Text /TextArea Checkpoint
checks that Current Text format with the Expected Text Format in a Web page or application window
www.cinterviews.com
![Page 4: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/4.jpg)
Standard Checkpoint
Checks values of an object’s properties
www.cinterviews.com
![Page 5: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/5.jpg)
Table Checkpoint
Checks information in a table
www.cinterviews.com
![Page 6: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/6.jpg)
Page checkpoint
Checks the characteristics of a page
Check how long a Web page takes to load or if a Web page contains broken links.
www.cinterviews.com
![Page 7: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/7.jpg)
Page checkpoint
www.cinterviews.com
![Page 8: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/8.jpg)
Database Checkpoint
Used to check current Database data with the Expected Database data.
Check that the value in a database query is correct.
Demo………
www.cinterviews.com
![Page 9: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/9.jpg)
Bitmap Checkpoint
Checks an area of a Web page or application after capturing it as a bitmap
Check that a Web page (or any portion of it) is displayed as expected.
Demo………….
www.cinterviews.com
![Page 10: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/10.jpg)
Bitmap Checkpoint
www.cinterviews.com
![Page 11: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/11.jpg)
XML Checkpoint
Checks the data content of XML documents
XML file checkpoints are used to check a specified XML file; XML application checkpoints are used to check an XML document within a Web page.
Demo………….
www.cinterviews.com
![Page 12: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/12.jpg)
XML Checkpoint
XMLFile("Poem.xsl").Check CheckPoint("Poem.xsl_2")
www.cinterviews.com
![Page 13: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/13.jpg)
Accessibility Checkpoint
Browser("Browser").Page("Yahoo! Mail_4").Check CheckPoint("Yahoo! Mail_4")
Check if the images on a Web page include ALT properties,
required by the W3C Web Content Accessibility Guidelines
www.cinterviews.com
![Page 14: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/14.jpg)
Synchronization Point
Synchronization point is used to solve anticipated timings problems between QTP script and the application.
Why synchronize Waiting for a Message box to appear Wait for a object status Wait for the page to load
Methods Sync Exist WaitProperty Wait www.cinterviews.com
![Page 15: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/15.jpg)
Creating Output Values
• This is just reverse to the Parameterization, In this case QTP takes the data from the application and displays the same in the Data Table.
![Page 16: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/16.jpg)
Creating Output Values
Window("Flight Reservation").WinEdit("Name:").Output CheckPoint("Name:_3")
![Page 17: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/17.jpg)
Regular Expressions
Regular expressions enable Quick Test to identify Objects and text strings with varying values.
User has to identify the data projected to be changed, like dates, so to accept any dates, user can use regular expression.
Example :
Actual Date format :
05/19/2004 (mm/dd/yyyy)
After Regular Expression:
[0-1][0-9]/[0-3][0-9]/200[0-9]
![Page 18: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/18.jpg)
Demo……
![Page 19: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/19.jpg)
Demo……..
Click icon
Do the changes as, shown below and select Regular Expression.
QTP will take the year from 2000 -2009
![Page 20: Testing Finder Qtp](https://reader036.fdocuments.us/reader036/viewer/2022081519/556cd0add8b42af31a8b45ee/html5/thumbnails/20.jpg)
Q & A