- Release Notes
- Getting Started
- Setup and Configuration
- Automation Projects
- Dependencies
- Types of Workflows
- File Comparison
- Automation Best Practices
- Source Control Integration
- Debugging
- The Diagnostic Tool
- Variables
- Arguments
- Imported Namespaces
- Trigger-based Attended Automation
- Recording
- UI Elements
- Control Flow
- Selectors
- Object Repository
- Data Scraping
- Image and Text Automation
- Citrix Technologies Automation
- RDP Automation
- Salesforce Automation
- SAP Automation
- VMware Horizon Automation
- Logging
- The ScreenScrapeJavaSupport Tool
- The WebDriver Protocol
- Test Suite - Studio
- Extensions
- Troubleshooting
- About troubleshooting
- Microsoft App-V support and limitations
- Internet Explorer X64 troubleshooting
- Microsoft Office issues
- Identifying UI elements in PDF with Accessibility options
- Repairing Active Accessibility support
- Automating Applications Running Under a Different Windows User
- Validation of large Windows-legacy projects takes longer than expected
ST-NMG-004 - Display Name Duplication
ST-NMG-004
Scope: Workflow
This rule analyzes the display names of activities and determines whether they are repetitive or generic.
The display names of activities should clearly indicate how they are used in the workflow. This makes the project meaningful and avoids any confusion in terms of usage.
Make sure default names of activities are changed into more meaningful names and are not repeated throughout the workflow.
By adding a more descriptive display name, it might become easier to understand what the activity does. For example, if your workflow uses the Click activity for clicking the Save button in an application, then you could name the activity to Click Save Button, giving it a unique and descriptive name.
In the Project Settings window, select the Workflow Analyzer tab. Find and select the rule, as in the image below:
1
. This means that if the Workflow Analyzer finds at least two activities with the same display name, then a message is logged in the Error List.
5
and the rule logs an error message only if the number of activities with the same display name surpasses the threshold, in
this case 5
.