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
11
votes
7 answers

Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported - Windows10

I am a beginner and learning appium tool. Trying to start the appium session and getting an error An unknown server-side error occurred while processing the command. Original error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was…
Akhlesh vishnoi
  • 111
  • 1
  • 1
  • 4
11
votes
4 answers

The URL '/session' did not map to a valid resource | How to run desktop application test using winAppDriver / windows application driver using java?

I'm trying to run automate test for windows calculator app on windows10 using Windows application driver (winAppDriver), appium and java as below example: https://github.com/Microsoft/WinAppDriver/tree/master/Samples/Java/CalculatorTest, but when I…
Vijendran Selvarajah
  • 1,330
  • 1
  • 11
  • 31
11
votes
2 answers

Accessing React Elements using Appium for Automation

I have been using Appium to test an hybrid android application including frequent transition between NATIVE and WEBVIEW context. These Webviews are developed using React Libraries. To my understanding and correct me if I am wrong, How React Works …
Naman
  • 27,789
  • 26
  • 218
  • 353
11
votes
2 answers

How to record test in android appium?

I need to record the test in android appium and i should play the recorded script. is there any way to do this? I need to use it like selenium web automation. can i use appium inspector for android testing?
Ishwarya Prakash
  • 153
  • 1
  • 2
  • 9
11
votes
1 answer

Genymotion application for iOS

Is there an application similar to genymotion for ios ? Also could genymotion be hooked on to appium ? I have been using genymotion for android but in search of a fast emulator for ios as well.
ace_tester
  • 137
  • 1
  • 1
  • 6
11
votes
4 answers

How to integrate Appium with C#?

I am unable to find a single post where i can automate mobile testing with appium in C#. I have written my Website automation code in the specflow. Can I also Reuse it ?
Arpan Buch
  • 1,380
  • 5
  • 19
  • 41
11
votes
1 answer

How to test native Android app with Protractor

I have native Android app, built with Ionic, so e2e tests are written with Protractor and works fine with hybrid version of application. I'm trying to figure out, if it's possible to run these tests against native app on Android device (or, at…
OZ_
  • 12,492
  • 7
  • 50
  • 68
11
votes
4 answers

Android tests with Appium and Gradle

I recently started looking at doing some functional testing with Appium. I would like to run the Appium tests through Android studio via gradle. Has anyone attempted to do this and if so can you give me some information on the setup, such as what…
chuckliddell0
  • 2,061
  • 1
  • 19
  • 25
11
votes
4 answers

Need to identify xpath for android element using appium

I am testing my Android application using Appium framework. I have an android screen that doesn't have ids for its views (and I don't want to add...), so I thought using Xpath. This is how the screen looks like in UI Automator Viewer: I want to get…
Ofir A.
  • 3,112
  • 11
  • 57
  • 83
11
votes
8 answers

How to start the Appium server from command prompt in MAC machine?

I am automating ios native mobile application using appium. Until now I was launching the server from the Appium GUI by clicking on the Launch button. Now I want to start the server from a command prompt. I was able to do the same in Windows machine…
Priyanka Agarwal
  • 139
  • 1
  • 5
  • 10
11
votes
6 answers

Appium: "An element could not be located on the page using the given search parameters" error

I am new to Appium and have been trying to automate the Conversion Calculator app for Android. Am getting the error "org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters", when…
Aby
  • 111
  • 1
  • 1
  • 4
11
votes
8 answers

How to dismiss the keyboard in appium using Java?

This code just aims to find the textbox and send some text to it. When it does that the keyboard appears on the android device.How to dismiss it after the sendKeys. @Test public static void test_demo() throws Exception { WebElement…
shiva1791
  • 510
  • 1
  • 4
  • 11
11
votes
4 answers

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

I am testing an iOS app, and can't interact with the elements after logging in because Appium is going too fast. Can someone please point me to an example of using a WebDriverWait style of waiting for Appium iOS testing? Preferably in Ruby. Thanks.
Aaron
  • 2,154
  • 5
  • 29
  • 42
10
votes
7 answers

“Appium” can’t be opened because Apple cannot check it for malicious software

When I'm trying to open appium on my mac, getting the error “Appium” can’t be opened because Apple cannot check it for malicious software.
Suman
  • 529
  • 2
  • 5
  • 20
10
votes
5 answers

Unable to sendKeys in an EditText field

I am having issues on performing send keys in a particular EditText field. I tried a dirty xpath and id but still it does not enter into the text field. However I feel like it is having no issue finding the element. It doesn't click into the element…
BruceyBandit
  • 3,978
  • 19
  • 72
  • 144