Appearance
Environments
Overview
The Environments section in Testslick allows you to define and configure the testing environments required for test execution. This feature supports the addition of key variables, such as strings, integers, and booleans, and enables the inclusion of devices to replicate real-world testing scenarios. By creating detailed environments, testers can ensure consistent and realistic test executions that reflect actual user conditions.
Creating a New Environment
- Navigate to the Environments section
- Click on Create Environment or Add Environment
- Provide title, name and description for the environment
- Add variables and device configurations as needed
Environment Components
Variables
Variables can be used to define customizable data specific to the environment. The following types of variables are supported:
- String: Stores text data (e.g., URLs, usernames)
- Example: "https://testslick.com"
- Integer: Stores numeric values (e.g., port numbers, iteration counts)
- Example: 8080
- Boolean: Stores logical data (e.g., feature toggle, on/off switches)
- Example: True (feature enabled), False (feature disabled)
Devices
Devices can be added to simulate testing across various platforms and configurations. This includes the type of device, operating system, browser, resolution, and more.
- Supported Details:
- Device Type (Mobile, Desktop, Tablet)
- Operating System (e.g., Android, iOS, Windows)
- Browser (e.g., Chrome, Safari)
- Resolution (Width and Height in pixels)
- Real Device or Emulator Indicator
- Adding Devices to an Environment:
- Select a pre-configured device from the device library or add a custom configuration
- Assign the device to the relevant environment for testing
Linking Environments to Test Cases
- Select a test case
- In the Detail Section of your test case click on “Environment” and select your environment from the dropdown
- Choose the appropriate environment from the list
- Ensure the variables and devices match the test scenario for accurate execution
Managing and Editing Environments
- View all environments in the Environments Dashboard
- Edit variables and device configurations as needed
- Reuse or duplicate environments for different test cases
Benefits of the Environments Section
- Centralized management of test environments for consistency
- Flexible variable and device configurations to match real-world scenarios
- Simplifies testing across multiple platforms and setups
- Ensures realistic and reliable test executions
The Environments section in Testslick provides a robust framework for managing testing conditions, ensuring accuracy, scalability, and streamlined execution.