Generate an Appium script

Learn how to generate an Appium script from a manual session, so you can start building your test suite.

Export your script

After creating the baseline session, search for your session, open the session overview, and select Automated test case.

The automated test case for the selected session.

Next, select the Export Appium Script icon. If you don’t see an icon, check if your session requires remediation.

Session overview tabs, including Automated Test Case, Jira Integration, Rerun, and the Appium Export icon.

Choose a testing framework, then select Download.

The export Appium script diologue, allowing you to download the Appium script.

While the exact contents of your Appium script may vary depending on your testing framework, your script’s directory structure will resemble the following:

root
├── src
│   └── test
│       ├── <resources>
│       └── <test-suite>
│           ├── <app-config>
│           └── <other-files>
├── README.md
└── <testing-framework-config>

Supported languages and test frameworks

This section lists all programming languages and test frameworks available for generating Appium script:

  • Java - TestNG

  • Java - JUnit

  • NodeJS - Mocha

  • C# - NUnit