Download - Testing Finder Qtp
Testing(web)Presented By
cinterviews.com
www.cinterviews.com
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
Text /TextArea Checkpoint
checks that Current Text format with the Expected Text Format in a Web page or application window
www.cinterviews.com
Standard Checkpoint
Checks values of an object’s properties
www.cinterviews.com
Table Checkpoint
Checks information in a table
www.cinterviews.com
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 checkpoint
www.cinterviews.com
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
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
Bitmap Checkpoint
www.cinterviews.com
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
XML Checkpoint
XMLFile("Poem.xsl").Check CheckPoint("Poem.xsl_2")
www.cinterviews.com
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
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
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.
Creating Output Values
Window("Flight Reservation").WinEdit("Name:").Output CheckPoint("Name:_3")
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]
Demo……
Demo……..
Click icon
Do the changes as, shown below and select Regular Expression.
QTP will take the year from 2000 -2009
Q & A