Thursday 16 May 2013

Difference between Image Checkpoint & Bitmap Checkpoint, Actions & Functions


Image Checkpoint
Image checkpoint is used to check the “Property Values” of an image. You can verify different properties like destination address, image type etc.
You can create an image checkpoint using the standard checkpoint on an image object.

Bitmap Checkpoint
Bitmap checkpoint lets you check an area of a web page or an application after capturing it as a bitmap so that it can compare the expected the expected and actual bitmap and find out inconsistencies.
You can create bitmap checkpoint using “Bitmap Checkpoint” (Insert > Checkpoint > Bitmap Checkpoint)



Actions

Functions


Actions, accept only Primitive data-types as parameters (E.g. strings, integers… etc…)

Functions accept arrays, dictionary objects and test objects (E.g. Pages, Frames, WebRadioGroups, etc.)


Actions can hold, Data table sheets for parameterization, Active screen to apply check points, Object repositories (Local [Per Action] and Shared).

There’s the code contained in the Function, and that’s all.


Call to existing actions, cannot be done through QTP API

Call to existing functions through QTP API is possible.


Reading output/return values from Actions are difficult to handle.

Easy to read and handle.

No comments:

Post a Comment