clear ocr setting
Description
Reset the adjustable OCR settings to their respective default values.
Arguments
There are no arguments for this built-in action.
Valid contexts
This action may be used within the following project items: test modules and user-defined actions.
Notes
This built-in action resets any OCR settings whose values have been modified by any prior invocations of action set ocr setting.
On an iOS device, the default logical coordinate space is measured using points. Therefore, all values are specified in points instead of pixels.
clear ocr setting sets the following values:
min edge length: 50pixels1.
linking distance: 50%.
inverse color range: 128.
In addition, the fill color setting is cleared of any points (x,y coordinates) it may contain.
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.
Applicable Built-In Settings
The following settings are applicable to this action: none.
Example
Action Lines