Automation Guide
Action-based testing language
Built-in actions
User Interface actions
Picture Handling
The requested page is not available for selected version.
set picture min accuracy
Description
Specifythe minimum level of accuracy required in matching baseline image objects with objects in captured test images for a match to be considered valid. Applies only to keypoint detection comparisons.
Arguments
value
Minimum acceptable accuracy (units: percentage; valid range: 0 to 100; default = 50).
Valid contexts
This action may be used within the following project items: test modules and user-defined actions.
Notes
- Minimum accuracy in picture matching may also be set through the built-in minimum accuracy setting.
- This built-in action is only applicable to a keypoint detection technique for image recognition. Therefore, it is only valid when the built-in setting picture algorithm is set to key point, and applies to all picture handling built-in actions except check picture.
- When this built-in action executed, its value overrides the Min Accuracy (%) value specified in the Key Points Modification Tool dialog box.
- Android: This built-in action, when applied to a connected Android device, requires that the TestArchitect Agent service be running. Note also that, if and when an Android device is restarted, TestArchitect Agent is then stopped. Should this be the case, it is essential that you reactivate the service by observing the following steps:
- Connect the Android device to the test controller through a USB cable (not Wi-Fi), if not already so connected.
- Open the Android Instrumentation Tool dialog box.
- Click the Refresh devices list button.
- This action supports the <ignore> modifier. If the string
<ignore>
is present as the value of the argument, or the argument contains an expression that evaluates to<ignore>
, the action is skipped during execution.
Applicable Built-In Settings
The following settings are applicable to this action: remove double quotes from cells.
Example
Action Lines
Related concepts