Relevant for: GUI tests and components
This pane enables you to define options that customize how UFT handles Insight test objects when creating test object, and during record and run sessions.
Select Tools > Options > GUI Testing tab > Insight node.
User interface elements are described below:
|When recording a test object|
|Save the clicked coordinates as the test object's ClickPoint||
Instructs UFT to define the ClickPoint of each Insight test object added to the object repository during a recording session, according to the location that the user clicks. The coordinates of the first click on the object are used.
|When running a step|
|Display mouse operations||
Instructs UFT to show mouse drag operations and clicks when running steps on Insight test objects.
|Show test object image in steps||
Instructs UFT to display Insight test object images in steps in the Editor.
If cleared, UFT displays the test object names instead.
|Display Select Learn Mode dialog box||
Instructs UFT to open the Select Learn Mode Dialog Box when you click the Add Insight Object to Local or Add Insight Object button to add an Insight object to an object repository.
|When taking snapshots|
|Limit test object image margin in snapshot||
Instructs UFT to limit the snapshot size when creating a new Insight test object by including only a limited area of the screen around the control in the snapshot. Specify the margin size in the Maximum pixels around the image box.
If cleared, UFT includes the whole screen in the snapshot.
Note: Relevant when adding a new Insight test object (recording or learning).
|Maximum pixels around the image||
The maximum size of the area around the control to include in the snapshot. UFT includes up to the specified number of pixels on all sides of the control.
Maximum value: 1000.
Note: Available only when the Limit test object image margin in snapshot option is selected.
|Maximum number of snapshots to save when recording a test object||
Instructs UFT not to save more than the specified number of snapshots when recording a test object.
Separately specify the number of snapshots to save Before the selected image and After the selected image.
UFT selects the image that seems most appropriate to use for the object description, and then saves additional snapshots taken during the recording session, before or after the selected image, as available.
The total number of snapshots saved may include up to the maximum number of snapshots you specified to save before and after the selected image, and one more snapshot for the test object image itself.
Maximum value: 10 before and 10 after.
Note: Relevant during a recording session.