Copied to clipboard

Appium Script Generation


Appium has quickly become one of the leading test automation frameworks for mobile app, game and web testing. Currently, due to the limitations of automation scripting skills, the majority of manual testers do not perform automation testing. Even a manual tester with prior automation experience spends a lot of time and effort to create and maintain an automation script.

Kobiton introduced the Appium Script Generation service for customers who struggle with transitioning to automation. Customers will find Appium Script Generation a painkiller for the pain. Users now execute an exploratory test against the mobile application, Kobiton will generate an Appium script which can be used to revisit the exploratory test flow.

How does it work?

1. General flow


2. Detailed information

No. Description
1 You need to provide the session ID that you want to automate. 

For example:

2 Kobiton will verify the provided session

For example: Actions are performed on the app, account for login, etc.
3 In case the session is invalid or lack of information, Kobiton will contact you to collect more information to ensure the quality of result.
4 Kobiton will deliver the result to you within 5 business days.

Note: Kobiton will provide 2 approaches for the result, you can either request one or both.
4.1 A full Appium project will be delivered, you can modify and run the automation script on your computer based on your needs, please follow the guideline "How to execute the Appium Script provided by Kobiton" below for the test execution. (Scripting skills required).
4.2 You can schedule the manual session to be run on Kobiton automatically and you only need to access to to see the test result. (No coding or application installation).

How to execute the Appium script provided by Kobiton


  • Install Java JDK 1.8 here

  • Install IntelliJ IDEA (Community Edition) here

  • Download & unzip the full project package to your computer, which is provided by Kobiton


  • We recommend to use the JDK 1.8 for better testing experience, any lower JDK versions might lead to an error for running the test (incapable JDK with the project package) and requires you to manually configure the link between IntelliJ and JDK (Step 3)

  • Kobiton will send the Appium project package via email

Steps to execute the Appium project package

Assuming Kobiton provides the Appium project package with the name: “automation-appium-demo”

  • Step 1: Open IntelliJ IDEA and open the “automation-appium-demo” project


Note: You can import Eclipse project into IntelliJ IDEA, please see these steps below:

  • Choose Import Project on the Welcome screen import-project.png
  • Navigate to your Eclipse project and then click Open button
  • Select Maven from Import project from external model choose-maven.png

  • Step 2: On the project directory sidebar, navigate to src/main/java/sample



  • For the test execution, you might need to wait around 2 - 5 minutes for the installation of all necessary library dependencies which are automatically resolved by IntelliJ IDEA.
  • If you run the test during the installation process, it might throw an error. But, you can re-run your test after dependencies are installed.
  • Step3: JDK configuration (Optional)

IntelliJ IDEA will automatically detect the required JDK for running the project. If IntelliJ has an issue for the JDK connection, then you need to follow these steps below:

  1. Select the "Edit Configurations..."


  2. Configure the connection from IntelliJ to the required JDK


  • Step 4: Run your test

At the top right of the window, click the run icon


  • Step 5: The test script will be executed (you can view your test process at the bottom of the IDE)




  • You can see the session overview for the latest test session





You can select a specific word, line of text, or one or more paragraphs to comment.


Please give us some feedback !
Thank you!
  • We are listening,
  • we will do our best to fix this soon