import ReactPlayer from 'react-player'
Environment Variables
Similar to Postman, the Anteon Platform offers an Environment Variables feature that allows you to store constants in variables for convenient use within your test scenarios.
Environment Variable Creation
- Navigate to the Environments listing page within the Anteon App, and find the 'New' button situated at the top-left corner of the page.
<div>
<img src="/img/image (70).webp" className="mx-auto" alt="Environment name input"/>
<img src="/img/Screenshot 2023-04-17 at 19.00.41.webp" className="mx-auto" alt="Environments List"/>
</div>
Attach Environment into Tests
-
In the Anteon App, go to the Test Suite and choose the Environment you previously created using the dropdown menu in the top-right corner of the Test Suite.
-
Utilize the
{{environmentVariableName}}format to insert test data into one of the following locations: URL, headers, query parameters, or authentication.