Questions tagged [appium]

An open-source test automation tool for use with native and hybrid mobile apps

From appium.io:

Appium is an open source test automation tool used for automating native,web and hybrid mobile applications. It drives iOS and Android apps using the WebDriver JSON wire protocol.

As per Appium 1.6.0 release, Windows desktop application testing joins the functionality list.

It provided a very helpful functionality for locating the elements. This is provided by Appium Inspector.

The basic goal for Appium is that you should be able to reuse code between platforms, and test on different programming language (Java, Javascript, Ruby, Python etc.), as mentioned before it leans on WebDriver implementation to achieve this.

Appium is basically an REST api server written in node.js which main purpose is to listen/receive command(s) from client (iOS, Android, hybrid, web), and execute them depending on platform.

After executing commands server receives respond back and return it to client.

Please read the documentation and tutorials.

For additional help, please use the following resources:

7754 questions
137
votes
17 answers

Solving "adb server version doesn't match this client" error

I'm running my Appium script with Python instead of py.test because py.test does not play nicely with variables I want to get from a text file. When I run my script with Python everything works except that my first method always has an error. Does…
DevBrandonJ
  • 1,369
  • 2
  • 9
  • 6
47
votes
2 answers

Testing NativeScript app with Appium

I am learning NativeScript. I am trying to write some automated tests with Jasmine. From my understanding, I can use Appium with Jasmine to run automated tests in the emulator. At this time, I've added the appium-gulp-plugins to my package.son file.…
user70192
  • 13,786
  • 51
  • 160
  • 240
24
votes
6 answers

How can you see the XCUIElement tree?

Background: I'm experimenting with ui level testing in iOS 9.0 with XCode GM. Question: Is there a command in XCode GM that will allow you to see a 'tree' of accessible elements and their relationships? Something similar to the 'page' command in…
Joe Susnick
  • 6,544
  • 5
  • 44
  • 50
23
votes
7 answers

Unable to install "Android SDK Platform Tools" from SDK Manager

Below error displays during installation: Done loading packages. Preparing to install archives Downloading Android SDK Platform-tools, revision 26.0.2 Download interrupted: Connection to https://dl.google.com refused Done. Nothing was…
Akhilesh
  • 229
  • 1
  • 2
  • 3
23
votes
9 answers

How to setup Appium in Ubuntu for android

I am new in appium(automation testing technology). I'm using a PC running Ubuntu Linux. I have searched about this topic but I have not got any useful tutorial. Can anyone point me to the right documentation?
Deepak
  • 491
  • 1
  • 7
  • 18
22
votes
6 answers

Can we find element by ID in appium

following link mentions that we can find element by giving id... but i am unable to find it. https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/finding-elements.md find by "name" (i.e., the text, label, or…
nilesh
  • 1,483
  • 2
  • 19
  • 37
21
votes
1 answer

Run an instrument test from within app and wait for result

I am developing a QA automation solution that can record/playback QA tests on Android. A key business requirement is to have no dependency on a connected PC while playing back the recorded test. To that end, I'm trying to run an Instrumentation test…
20
votes
6 answers

How to setup Appium on Mac OS to run automated tests from JAVA classes on Android and iOS devices

Problem I was facing with Appium that I decided myself below. I could not find a way to install required components for Appium without using SUDO. After installing it all with SUDO, then trying to run Appium, I was getting error that Appium and NODE…
Igor Vishnevskiy
  • 1,031
  • 2
  • 9
  • 13
19
votes
4 answers

Appium vs Espresso for automated testing framework

For last few weeks, I was using Appium(python) for android testing but yesterday we have decided to shift to Expresso(Java) for automated testing. There are couple of reasons why we are making this shift: We want to scale out our automated testing,…
python
  • 4,403
  • 13
  • 56
  • 103
19
votes
2 answers

finding image in Sikuli X Java

I am having an issue trying to find an image on the screen, I tried doing it in two different ways and it doesn't seem to work for me. I am trying to do this with Appium running on IOS simulator which shows up on the screen, so I don't see this…
Elsid
  • 243
  • 2
  • 10
  • 25
18
votes
7 answers

How to "wait to activity" using Appium, on begin and during test itself?

I'm starting an already installed app using appium. After my driver is initialized. How do I make it poll-wait till certain activity is displayed? I saw only this way to wait for activity when starting up cap.setCapability("app-wait-activity",…
Elad Benda2
  • 13,852
  • 29
  • 82
  • 157
18
votes
20 answers

Error in using UIAutomatorviewer for testing Android app in Appium

I have to automate an Android application, I am doing the same through Appium. The problem I am facing is after launching the Appium server, the app is getting installed in the emulator 4.4.2. To inspect the element I am using UIAutomatorviewer…
Rancho
  • 976
  • 1
  • 8
  • 16
18
votes
5 answers

How to setup Appium Environment for Android Automation?

I am working as SD in Test. I am new to Appium Automation tool, this tool is very tricky to set up environment for me. I referred following link: http://unmesh.me/category/appium/ This link helped me to install Node.js and appium through command…
Mani
  • 1,199
  • 2
  • 9
  • 22
17
votes
2 answers

Unable to locate validation of android native app after many efforts in automation

I am doing automation of Android native app and want to verify login validation with text. When I tried to pick it using Appium inspector and Uiautomator. Both unable to locate validation section so hard to pick it. I tried code from different…
Helping Hands
  • 5,292
  • 9
  • 60
  • 127
16
votes
4 answers

npm install: Error: EACCES: permission denied, mkdir

I attempted to do a sudo npm install -g appium on Mac OS 10.12.5. I get this error: info Chromedriver Install Installing Chromedriver version '2.30' for platform 'mac' and architecture '64' info Chromedriver Install Opening temp file to write…
Steve W
  • 1,062
  • 1
  • 9
  • 24
1
2 3
99 100