Cloned controls: the UseKeys property
When integrating applications that create multiple instances of targets with identical types, such as multiple document interface (MDI) child windows, Robot Studio creates cloned controls to match the targets. Cloning controls keeps automations running successfully by matching multiple targets.
To enable cloning controls, check the UseKeys property in the Property Grid for the highest-level control that requires cloning. Enable UseKeys for the control to specify interactions with specific instances of the control in automation logic.
When an MDI window is interrogated, a client and child controls can be identified, as in the following figure:
When the UseKeys property is enabled, cloned controls are created for child controls. The number of cloned controls is shown in the eye icon in the Palette, as in the following figure:
As you open multiple instances of the target, such as the MDIChild window, multiple matched targets appear in the Targets section, as in the following figure:
Previous topic Working in the Application Designer Next topic Match Rule types