Activity Project Settings represent a set of changes that can be configured at the project level and applied to all activities part of project dependencies.
To configure activity properties at project level click the icon in the Project panel. The Project Settings window opens:
Tabs under Activity Settings contain the settings available for each installed activity package and for some bundled dependencies like Computer Vision, part of UIAutomation.
These settings can be configured for two scenarios: Run and Debug. In this way, for the same activities in the project, specific settings are applied when the project is run, while a different set of settings are applied during debugging.
For example, the Open Browser activity contains the
BrowserType property with the
IE default browser for opening the URL. If in Activity Project Settings, the same property is set to open URLs in Firefox, then this setting overwrites defaults and applies to all activities with this property used in the project.
If in the same project one activity has the
BrowserType property set to Chrome in its Properties panel, then the value set in the panel overwrites any other value configured in the Activity Project Settings window.
A set of actions are available in the Bulk Action drop-down menu for performing changes to multiple settings:
- Reset all
- Reset run settings
- Reset debug settings
- Copy debug settings to run
- Copy run settings to debug.
Please bear in mind that even though activity properties are changed from the Property Settings window and new values are applied throughout the project, the default values in the Properties panel are not visibly updated. The change is applied, but not visible in the Properties panel.
The configured activity settings are saved in the project location, and are visible in the Project panel, under the .settings folder.
Activity Project Settings are not taken into account during runtime or debugging if the .settings folder is renamed or deleted.
To save your Activity Project Settings configuration and apply it to other future automation projects use the Save as Template functionality in Studio.
To find out more about the settings available for various package, Project Settings pages are available in the Activities guide for the packages that support this feature, for example, Project Settings for UI Automation Modern.
Updated 3 months ago