Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Matching triggers

Updated on May 26, 2022

Studio automatically matches in response to events within the target applications. The events that Studio uses to determine when and if to match are known as match triggers. Match triggers are different for each type of adapter.

Windows adapter

Within the Windows adapter, matching occurs whenever the target application becomes idle. Idleness is defined as a certain period of time that has elapsed in which the application has not received any messages to create, destroy, or update controls.

Only visible controls are available for matching. However, if a matched control is subsequently made non-visible, Pega Robot Studio does not un-match it until the control is destroyed. When idleness occurs, Studio attempts to match only those controls that have raised the following events:

  • Created
  • Shown
  • Activated
  • Text Changed
  • Parent Changed

Web adapter

Within the web adapter, matching occurs whenever a new web page is loaded into the browser. When a web page is loaded, it goes through stages:

  • Uninitialized
  • Loading
  • Loaded
  • Interactive
  • Complete

Because some web pages may take several minutes to load completely, the web adapter matches when the page becomes interactive and again when the page becomes complete.

Java adapter

Like the Windows adapter, matching occurs within the Java adapter whenever the target application becomes idle. When idleness occurs, Studio attempts to match controls that have been recently added to the Java control hierarchy.

Host adapter

Within the Host adapter, matching occurs when the emulator or console presentation space is updated. The Host adapter first determines if the current screen has been modified, but not unloaded. If the current screen has been unloaded, the Host adapter attempts to match the new screen.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us