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
16
votes
2 answers

How to fix error "Could not detect Mac OS X Version from sw_vers output: '10.12 '" from Appium

I installed appium-1.5.3.dmg But when I click the stethoscope button the Appium is show error : ✔ Xcode is installed at: /Library/Developer/CommandLineTools [Error: Could not detect Mac OS X Version from sw_vers output: '10.12 '] Thank you!
Chattip Soontaku
  • 560
  • 1
  • 6
  • 17
16
votes
5 answers

For mobile automation what are the advantages of Appium VS Calabash and of Calabash VS Appium?

I have used Appium in Mobile automation with IOS and Android. I wanted to know about advantages that offers Calabash and if there are common point in generated scripts of both tools? I have followed this link : Appium VS Calabash
Emna Ayadi
  • 2,430
  • 8
  • 37
  • 77
16
votes
1 answer

Find element by ios_ui not working

Appium 1.5.0 Xcode 7.3 IOS 10.11.4 OSX EI Capitan Using on:Simulator iOS 8.1 My XML
vks
  • 67,027
  • 10
  • 91
  • 124
16
votes
3 answers

How to permanently turn off Auto-Correct in iOS Simulator?

I am trying automated tests using Appium. Every time Appium launches , it resets the properties of Simulator.
Nischay Gulati
  • 243
  • 3
  • 12
15
votes
4 answers

Setting up appium for iOS app test automation

Looking far and wide for a step-by-step guide to set-up iOS Test Automation using appium, with scripts in Java (no ruby and/or cucumber). Note: The appium wiki is not helpful either.
Ethen Hunt
  • 579
  • 2
  • 4
  • 13
14
votes
4 answers

Appium - How to set Geo Location on iOS Device?

Meta :- iOS emulator device v10.3 Appium java-client v5.0.0 BETA8 Selenium v3.4.0 Actually I'm trying to set GeoLocation in iOS device using Appium XCUITest automation. I've tried with below code which is working fine on Android device while…
Om Prakash
  • 793
  • 7
  • 14
13
votes
17 answers

Appium Doctor - unable to set $JAVA_HOME/bin into PATH variable on MacOS 10.12

Installed appium doctor with npm on MacOS 10.12, and it gives me one error: WARN AppiumDoctor ✖ Bin directory for $JAVA_HOME is not set. I've tried everything I could so far, please help. Here is my .bash_profile: export…
SergioLeone
  • 734
  • 1
  • 10
  • 24
13
votes
7 answers

Access iOS Control Center using appium

I am trying to open the Control Center using appium and the following code: int halfWidth = driver.manage().window().getSize().width / 2; int screenHeight = driver.manage().window().getSize().height; driver.swipe(halfWidth,…
Charlie S
  • 4,366
  • 6
  • 59
  • 97
13
votes
5 answers

How to switch from one app to another app at run time

Is there any possibility to switch from one application to another application at run time using Appium. Thanks
Sravan
  • 591
  • 1
  • 4
  • 16
13
votes
27 answers

Appium : Clear a field

I have my login screen in app now. Each time the app is launched in screen the mobile number is pre filled with the older text. I just want to know I have tried: WebElement mob = driver.findElement(By.name("Mobile Number")); mob.clear // Not…
user1664899
  • 327
  • 2
  • 4
  • 15
12
votes
4 answers

Testing Mobile App with Appium & WebdriverIO: "No route found for /session"

I want to set up the process of automated testing of mobile applications for Android and iOS platforms (React Native) . For this I use Appium and WebdriverIO. As an example, I am using existing appium-boilerplate codebase and a ready-made…
Tomas
  • 1,567
  • 3
  • 21
  • 38
12
votes
1 answer

Google Instant App - How to be go about automating with Appium

We understand that the app needs to be launched by a browser and then a app container comes up with the cached app. However, we don't know how to move the handle from the browser the app container. Any thoughts?
Deep
  • 121
  • 2
12
votes
1 answer

How to add accessibility identifier to ios (cordova/webview) in html

I am doing mobile ios webview app automation using appium. I am unable to see the id attributes by using appium inspector.some says need to add accessibility id attribute so that appium can inspect that element. But we know how to add accessibility…
Durga Prasad
  • 301
  • 1
  • 2
  • 8
12
votes
5 answers

Wait for element to load when testing an iOS app using Appium and Python?

I am testing a native iOS app and need to wait for some elements to load in some of my testing. Appium is going too fast on some screens right now. Can someone please point me to an example of using a WebDriverWait style of waiting for Appium iOS…
fkang9
  • 121
  • 1
  • 1
  • 3
12
votes
6 answers

Can I use appium for testing web apps?

The application I am testing is a web based app. Is it possible to use Appium to test this? On their website it states "Appium is an open source test automation framework for use with native and hybrid mobile apps." So I am unsure if this will work…
user1523236
  • 1,403
  • 3
  • 20
  • 43