How to Setup Appium in Ubuntu for Android

Appium setting on ubuntu

A. If you are getting that output it means your appium install is successful and Appium is up and running on default port 4723. Next step is to connect to the server with Appium client.

B. In Ubuntu there are few GUI's to view logs such as gnome-system-log it's searchable and user-friendly, You can start System Log Viewer

Click on System menu > Choose Administration > System Log

How to view system log files in GUI
If you are expecting full graphical interface like Windows, so that's not available yet.

Appium integration in Android Studio(Ubuntu)?

What you need to do is Download the Appium, junit Dependencies from Maven in your Android Studio Project and configure Android Studio to run Appium Java junit/TestNG test cases:


You will require to download:

a. io.appium:java-client:3.1.0 or latest version

b. org.junit:com.springsource.org.junit:4.11.0 Or Latest

Than Just write your test suit by providing Appium server capabilities and Setup/Teardown methods. Start Appium Server also give correct port number inside your code. Like:

driver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);

How to import Maven Dependencies in Android Studio

(I assume that Appium has already installed on your system) if not Use This Link

Can i use Appium to test IOS and Android on Ubuntu?

In order to run the Appium iOS test , we need to some xcode to be installed on machine. I don't think so you can install xcode in Ubuntu.

Reason behind is :

Appium use xcode uiautomator to run the test in real device / simulator.

Still you want to run appium iOS test Ubuntu, you may ended with extra work like install VM and install MAC os in that VM so on.

How to download Appium Desktop in Ubuntu 16

1.2.0-beta.2 offers an AppImage for Linux - https://github.com/appium/appium-desktop/releases/

Download it, run chmod a+x on it, and then ./AppImage to execute it.



Related Topics



Leave a reply



Submit