Friday, August 8, 2008

1.Difference between image checkpoint and bitmap checkpoint?

A.In Bitmap checkpoint, we can compare the exact images, means the source image(in Build1) with the destination image(in build2). So it compare the exact image between both the builds. Here, even we can check the part of images between
source and destination.

where as in Image check point, we can check all the values and properties of an image. Ex. The destination address once we click on the image, image type etc.

2.give me descriptive programing code sample flight application in qtp?

A.Browser(name:=Mercury \FlightApplications).Page
(title:=FlightApplications).Exist

3.How to execute a WinRunner Script in QTP?

A.insert->callto winRunner->select test or function

4.what does it mean when a check point is in red color? what do u do?

A.red is symbol for failure

5.Explain the check points in QTP?

A.A checkpoint verifies that expected information is displayed in a Application while the test is running. You can add eight types of checkpoints to your test for
standard web objects using QTP.
•A page checkpoint checks the characteristics of a Application
•A text checkpoint checks that a text string is displayed in the appropriate place on a Application.
•An object checkpoint (Standard) checks the values of an object on a Application.
•An image checkpoint checks the values of an image on a Application.
•A table checkpoint checks information within a table on a Application
•An Accessiblity checkpoint checks the web page for Section 508 compliance.
•An XML checkpoint checks the contents of individual XML data files or XML documents that are part of your Web application.
•A database checkpoint checks the contents of databases accessed by your web site

6.How to Import data from a ".xls" file to Data table during Runtime?

A.datatable.Import("file path")
datatable.Importsheet("file path",sheetid)

7.what is the Command used to start the QTp from Run.(start-> Run?

A.systemutil.run"path of the file"