Select Learn Mode Dialog Box
Relevant for: GUI tests and components
This dialog box enables you to specify which learning mode to use when adding an Insight or Text test object to the object repository.
- When using the automatic mode, you click on the control in the application and UFT One automatically determines the borders of the control or text.
- When using the manual mode, you draw a rectangle around the control or text in the application, specifying the borders of the control or text.
In both cases, UFT One takes a snapshot of the control or text within the application and the Add Insight Test Object or Add Text Test Object dialog box opens, enabling you to adjust the image that will be used for the new test object.
When you click Save, the test object is created and the image is saved in the test object.
- For an Insight test object, the image is used to identify the control in the application.
- For a Text test object, UFT One uses OCR to extract the text from the image and save it in the test object. The text is then used to identify the relevant text in the application.
Do one of the following:
Note: To display the Select Learn Mode dialog box if it does not open when you click these buttons, select Tools > Options > GUITesting tab > Insight node and then select Display Select Learn Mode dialog box.
User interface elements are described below: