Skip to main content


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

Interrogating cloneable targets

Updated on October 19, 2022

When interrogating an application that contains cloned controls, you can confirm matching for each clone by using the Make Prototype function. This function applies the match rules used when the initial target instance (the prototype) was interrogated to a clone of the target by setting the clone as the prototype.

This example shows the Prototype function for an example CRM application that contains two MDI child windows open during interrogation.

Make prototype function
Application designer showing cloneable targets.

In this example, the window with Text New Call 1 was the initially interrogated window, or the prototype. To ensure the match rules used for this window are valid for the other cloned window (New Call 2), change the prototype designation using the Make Prototype function. In the illustration above, selecting Make Prototype for the New Call 2 CRMchild window makes that window the prototype and applies the established match rules to the New Call 2 window. This way, you can review the matching status of the window and all of its child objects.

In the sample CRM application, an account number label is displayed on each MDI child window. The label is matched using the Windows Text match rule. So for the prototype window, the label is matched by its text. However, the account number label text differs on other instances of the Child window and would therefore fail to match. Using Make Prototype for other instances of the MDI child window would show that the label is not matched.

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