Go to Robotic Automation version 22.1 documentation

Modifying Match Rule Properties

When you interrogate a target, Studio uses the properties of the target as they are set at the time of interrogation.

For example, in the CRM sample application when the window is interrogated, the title of the window is part of the match rule. The title on the window can change during the running of this application depending on the number of times it is opened (for example, New Call 2, New Call 3, and so forth).

To tell the system to ignore the number part of the title and ensure that the application matches no matter what number is included in the title, you must modify the Text property of the Window Text match rule.

  1. Expand the Text property for the Window Text match rule and browse the Text property to open the Match Rule Editor.

  2. Change the Mode to Starts With and delete the 1 from the Text entry New Call 1. Your Match Rule Editor should look like the following:


     

  3. In the Test Input box, type New Call 1. Note that the message Matched is displayed in green above the input box:

  4. You can test this further by typing New Call 2 in the Test Input box and verifying that the window is matched.

  5. Click OK to close the editor. In the Targets area of the Designer, click the Refresh Matching button to apply the changes to the New Call window.

 

Related information

Match Rule Editor

Modifying a Link or URL

 


Privacy | Trademarks | Terms of Use | Feedback

Updated: 01 July 2024

© 2016 - 2024 Pegasystems Inc.  Cambridge, MA All rights reserved.

 

OpenSpan data classification label