testing finder qtp

of 20 /20
Testing(web) Presented By cinterviews.com www.cinterviews.com

Upload: cinterviews

Post on 02-Jun-2015

981 views

Category:

Technology


3 download

DESCRIPTION

qtp,testing,testing interviews,cinterviews

TRANSCRIPT

Page 1: Testing Finder Qtp

Testing(web)Presented By

cinterviews.com

www.cinterviews.com

Page 2: Testing Finder Qtp

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

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

Standard Checkpoint

Checks values of an object’s properties

www.cinterviews.com

Page 5: Testing Finder Qtp

Table Checkpoint

Checks information in a table

www.cinterviews.com

Page 6: Testing Finder Qtp

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

Page checkpoint

www.cinterviews.com

Page 8: Testing Finder Qtp

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

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

Bitmap Checkpoint

www.cinterviews.com

Page 11: Testing Finder Qtp

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

XML Checkpoint

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

www.cinterviews.com

Page 13: Testing Finder Qtp

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

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

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

Creating Output Values

Window("Flight Reservation").WinEdit("Name:").Output CheckPoint("Name:_3")

Page 17: Testing Finder Qtp

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

Demo……

Page 19: Testing Finder Qtp

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

Q & A