SSTL QTP Session2 Ver1
SSTL QTP Session2 Ver1
SSTL QTP Session2 Ver1
Professional Session-2
Checkpoints
Used to check the current behavior of the application with the expected
behavior.
checks that Current Text format with the Expected Text Format in a Web page or
application window
Standard Checkpoint
Check how long a Web page takes to load or if a Web page contains broken links.
Page checkpoint
Database Checkpoint
Used to check current Database data with the Expected Database data.
Demo………
Bitmap Checkpoint
Check that a Web page (or any portion of it) is displayed as expected.
Demo………….
Bitmap Checkpoint
XML Checkpoint
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………….
XML Checkpoint
XMLFile("Poem.xsl").Check CheckPoint("Poem.xsl_2")
Accessibility Checkpoint
Browser("Browser").Page("Yahoo! Mail_4").Check
CheckPoint("Yahoo! Mail_4")
Synchronization Point
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
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
Regular expressions enable Quick Test to identify Objects and text strings with
varying values.
User has to identify the data projected to be change, like dates, so to accepts any
dates, user can use regular expression.
Example :
Actual Date format : 05/19/2004 (mm/dd/yyyy)
Click icon