Execution Profiles
Execution Profile
The Execution Profile allows you to define customized settings for test execution, enabling greater control over browser environments, timeouts, delays, and other configurations. Each profile is designed to help simulate various user conditions, ensuring that your test cases are run accurately and efficiently.
Key Fields of an Execution Profile
-
Name
- The name of the execution profile, required for easy identification. This field must be specified for all profiles.
-
Parallel Execution
- Defines whether test cases within the profile should run in parallel. Enabling parallel execution can speed up the testing process but may require additional resources.
-
Browsers
- Specifies the browsers in which the test case will execute. At least one browser must be selected to run the tests.
-
Headless Mode
- Determines whether browsers run in headless mode (without a graphical interface). Headless mode is useful for faster execution and resource optimization.
-
Action Timeout
- Sets the maximum time (in milliseconds) allowed for each action within the test. This is optional and must be a positive number if specified.
-
Assertion Timeout
- Specifies the maximum time (in milliseconds) allowed for each assertion to complete. This field is optional and should be a positive number if provided.
-
Action Delay
- Defines a delay (in milliseconds) between actions, simulating more realistic user interactions. This is an optional field, and the delay must be a positive number if specified.
-
Record Video
- Configures video recording for test runs, with the following options:
- On: Record video for all test runs.
- Retain on Failure: Record video only if the test fails.
- Off: Disable video recording.
- Configures video recording for test runs, with the following options:
-
Test Id Attribute
- Allows the specification of a custom test id attribute to uniquely identify elements within tests.
-
Use Proxy
- Enables the use of a proxy server during test execution. It is used when the starting URL is behind a firewall or requires a proxy to access. If enabled, the proxy server must be specified.
-
Proxy Settings
- If Use Proxy is enabled, the following fields are available:
- Server: The proxy server URL, required when using a proxy.
- Bypass: (Optional) A comma-separated list of hosts that should bypass the proxy.
- Username: (Optional) Username for proxy authentication.
- Password: (Optional) Password for proxy authentication.
- If Use Proxy is enabled, the following fields are available:
Execution profiles provide the flexibility needed to tailor test execution to various environments and scenarios. By adjusting parameters like timeouts, delays, and proxy settings, users can simulate different network conditions and browser behaviors to validate their application thoroughly.