Sstl Qtp Session2 Ver1

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Sstl Qtp Session2 Ver1 as PDF for free.

More details

  • Words: 403
  • Pages: 22
Quick Test Professional Session-2

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

Text /TextArea Checkpoint checks that Current Text format with the Expected Text Format in a Web page or application window

Standard Checkpoint Checks values of an object’s properties

Table Checkpoint Checks information in a table

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.

Page checkpoint

Database Checkpoint

 Used to check current Database data with the Expected Database data.  Check that the value in a database query is correct.  Demo………

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………….

Bitmap Checkpoint

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………….

XML Checkpoint

XMLFile("Poem.xsl").Check CheckPoint("Poem.xsl_2")

Accessibility Checkpoint

Check if the images on a Web page include ALT properties, required by the W3C Web Content Accessibility Guidelines

Browser("Browser").Page("Yahoo! Mail_4").Check CheckPoint("Yahoo! Mail_4")

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

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 change, like dates, so to accepts any dates, user can use regular expression. Example : Actual Date format

:

After Regular Expression:

05/19/2004 (mm/dd/yyyy) [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

Related Documents

Sstl Qtp Session2 Ver1
November 2019 26
Session2
June 2020 17
Session2
December 2019 65
Qtp
November 2019 27
Qtp
November 2019 22
Qtp
November 2019 17