Validator Test Points

Validator test points are specialized test actions which produce test artifacts which are later qualified as PASS/FAIL by Storyboard.

Capture Screen

Capture the full screen.

Arguments:

  • Threshold: The percent of pixels that are allowed to be different while still being considered a passing result. From 0-100%.

  • Tolerance: The amount of color difference per pixel for it to be considered a match. From 0.0-0.999.

Capture Region

  • X: The X coordinate for the top-left corner of the region to capture.

  • Y: The Y coordinate for the top-left corner of the region to capture.

  • W: The width of the region to capture.

  • H: The height of the region to capture.

  • Threshold: The percent of pixels that are allowed to be different while still being considered a passing result. From 0-100%.

  • Tolerance: The amount of color difference per pixel for it to be considered a match. From 0.0-0.999.

Capture FQN

Capture a model object by fully qualified name. The area on screen containing the specified model object will be included in a screen capture.

Arguments:

  • Fqn: The fully qualified name of the model object.

  • Threshold: The percent of pixels that are allowed to be different while still being considered a passing result. From 0-100%.

  • Tolerance: The amount of color difference per pixel for it to be considered a match. From 0.0-0.999.

Capture Data

Arguments:   

  • Variable arguments, one for each data key specified.

Was this article helpful?
0 out of 0 found this helpful