Export tests as code in Low Code Automation
Low Code Automation offers users the ability to export their recorded tests as code. This feature allows you to store tests for future use and easily integrate your tests into other solutions. You can further add custom logic and integrate them into script-based automation tools.
The Export Tests feature is available only with Low Code Automation Pro plan.
Export test using REST API
Low Code Automation allows you to export your recorded tests as code in a .side
format using APIs. The .side
is a Selenium IDE compatible format.
To export the test details as code:
- Retrieve the test ID from Low Code Automation by clicking the Copy test ID button under Configurations section.
- Alternatively, you can fetch all tests along with their IDs using the Get all recorded tests endpoint.
- Use the Get test script by ID endpoint to download the test in
.side
format. For more information, refer to Export tests API. - Use the
.side
format for easy export to multiple languages:- C# NUnit
- C# xUnit
- Java JUnit
- JavaScript Mocha
- Python pytest
- Ruby RSpec
For more information, refer to the Selenium IDE Code Export document.
Key points
The following test data will not be exported:
- Secret values will not be exported and will be replaced with the secret name. You can manually update the value after the code is exported.
- Steps using test data generated by AI will be replaced with the corresponding AI prompt during export. Ensure to update the prompt with the appropriate value.
- Low Code Automation’s element selection algorithm with AI healing, used during replay, is not exported.
- Visual Validation, API, and Open Email steps are not currently exported.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!