Download test as Appium JavaScript
Downloads your Scriptless Mobile test as Appium JavaScript. Once downloaded, you can run your test locally.
|
URL |
Copy
|
|
Method |
|
Header parameters
|
Name |
Description |
|---|---|
|
|
The Perfecto security token. For more information, see Generate a security token. |
URL parameters
|
Name |
Description |
|---|---|
|
|
The repository key of the automation test file stored in the test repository area. For example, |
Response
The response you receive after your call contains a link in signedURL. Click the URL to download your exported script as a .zip file.
JSON response
{
"fileKey": "codeless/private/123456.zip",
"signedUrl": "https://getcodeexample.com/js"
}
Run the script locally
To run the script locally:
-
Open the .zip file in a code editor.
-
Open the execute-test.js file.
-
Follow the instructions in the execute-test.js file to run your script locally.
