Friday, August 7, 2015

UFT: Checkpoint



What is a checkpoint?

Checkpoint is a verification point to make sure that the expected value matching with the actual value. For insert the check point you have to stay on recording mode [Database & XML checkpoint run from any mode]. After added checkpoint object and property will be store in object repository, from there we can select what property we need to check.

Ø  Standard Checkpoint: Checks the property values of an object in the application. e.g. Buttons, Radio buttons, Combo boxes, Lists and etc.
Ø  Image checkpoint:  The image check point compares the properties of an image file (source, Height, width, target etc.)
Ø  Bitmap Checkpoint: Checks the particular area of your application or webpage after capturing it as a bitmap (pixel to pixel). Example: Website with a map. Using bitmap you can check that the map zoom correctly or not
Ø  Page Checkpoint: Checks the characteristics of a Webpage. Using page checkpoint we can see how many link, image in the page.
Ø  Table checkpoint: when we apply standard checkpoint on a web table to validate if a particular object exist in given row and column or not.
Ø  Text Check point: The text check point validates the given text exist or not.
Ø   Text Area Checkpoint: Text area check point validates text in a particular position.
Ø  Database Checkpoint: Database checkpoint that check a particular data exist in the database on the given row and column.
Example: Excel sheet (Test data), after the test run is completed. I want to make sure that test execution result is written to the excel sheet.
Ø  XML Checkpoint: It checks the data content of XML documents in XML files or XML documents in Web pages and frames.
Example: let say you have a user define external environment variable .XML file, from there you are loading your environment variable in the script. So before loading in the script, you want to make sure that value exist or not in that file. In that case we use XML checkpoint. Using xml checkpoint we select the file, chose the variable name and run time it will report to the test result.
Ø  Accessibility Check Point: It is a check point to check if a webpage is created as per standards.
Example: Image on the webpage always should have the “alt” property defined. Screen reader (Jaws) software’s are used by the Blind people. It will read out the “alt” property text to provide where they are looking at. To validate 508 Compliance 

[Note: Page, image, link all checkpoints belongs to standard checkpoint.]

No comments:

Post a Comment