Go to Robotic Automation version 22.1 documentation

Naming rules

Naming rules let you specify replacement characters for invalid characters and set prefixes Studio will use when naming interrogated objects. To define naming rules, choose Pega Robot > Naming Rules from the Options dialog (choose Tools > Options).

The Naming Rules options are listed under these option nodes:

 

Invalid characters

The Invalid Characters option lets you add or remove a character to use in place of an invalid character. An invalid character is any character that cannot be used by Studio when naming matching targets. For example, when interrogating webpage objects, the tag name of the target may include an apostrophe ('). This character is invalid in Studio object names. If you set a replacement string for the apostrophe (such as Apos), then Studio uses the replacement string rather than the actual character when adding the target as an object to the solution.

Use the Invalid Characters – Replacement String table available from the Options dialog: Pega Robot> Naming Rules > Invalid Characters option. These functions are available:

 

Type prefixes

The Type Prefixes option lets you specify a prefix for common interrogated controls. For example, when interrogating a label in a Windows application, you can set the Type Prefix such that the prefix is: lb. In this case, the prefix lb is applied to the control name.

Use the Type Name – The prefix table available from the Options dialog's Pega Robot> Naming Rules > Type Prefixes option. These buttons are available:

 


Privacy | Trademarks | Terms of Use | Feedback

Updated: 01 July 2024

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

 

OpenSpan data classification label