Tuesday, April 14, 2015

Checkpoints

11/8/2015:

Note: From Expert view you can select checkpoint properties by right click the line of code of checkpoint. Same is possible using Keyword view.

Scenarios:
1. Insert Standard CheckPoints
2. Compare learned object properties with Run time properties

Checkpoint is specialized step that compares the two values and Report results.

Types of checkpoints are:

1. Standard Checkpoint (checks radio button, combo boxes, lists etc..)
2. Image Checkpoint
3. Bitmap checkpoint
4. Output checkpoint
5. Database checkpoint
6. Text Checkpoint
etc

Note: Checkpoints validates the property value with expected for actual

Go to Design -> Checkpoint

- Text Checkpoint   = validates the text in a web page.



Syntax: .Check CheckPoint("<text>")

- Database checkpoints:

1. Creates query during record time
2. Database values are stored as expected values
3. At run time Expected and actual values are compared

Ex: Compares the value in the tables of the DB with the value displayed in the run time in a form.
- Bitmap checkpoint:

Ex: Compares the the position of existed graph before and after execution, i,e expected and actual bit map.

Bitmap is dimension on the position of the graph.





No comments:

Post a Comment