About activity shortcuts and the Shortcuts Manager tool |
A shortcut is a saved URL value that simplifies retesting activities and V5 reports in your application. Using shortcuts, you can avoid the need to repeatedly retype parameter values when you test activities.
Using the Shortcuts Manager tool, you can group, label, arrange, update, and delete shortcuts.
To create a new activity shortcut:
You can define many shortcuts for one activity, supplying various parameter values and giving each one a unique name.
To create a new V5 report shortcut:
After you define a shortcut, you can quickly re-execute the rule. For an activity, you can re-execute the rule using the parameter values that you saved with the shortcut.
The shortcut specifies only visible key of the rule to be executed, not the RuleSet or version. When you execute a shortcut, the system uses rule resolution to find the rule to run. The rule executed may be a higher version or in a RuleSet other than the rule used earlier to define the shortcut. For example, if you have checked out an activity, the checked-out copy executes.
Organizing shortcuts with the Shortcut Manager
Select My Shortcuts > Organize Shortcuts from the Designer Studio profile menu to organize, rename, delete, or update your shortcuts. See Help: Organizing shortcuts.
When you execute a shortcut, the system uses rule resolution to locate the activity. The activity that runs is the one that matches the Applies To class (with no class inheritance) and Activity Name in the URL and is appears in the highest RuleSet version on your RuleSet list. If you checked out this activity, the checked-out copy runs.
The system saves your shortcuts as an instance of the System-User-MyRules class, with these key parts:
Individual
— A constantShortcuts
— A constantYou can define up to 1,000 shortcuts.
Use the Organize Shortcuts facility, not the My Rules form, to maintain shortcuts.
Don't confuse these saved rule shortcuts — which help developers keep track of V5 report rules and activities of personal interest — with Report Browser shortcuts, used in the Manager portal.
How to unit test an activity |