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
1
vote
1 answer

I can't run 'appium -allow-cors'

I want to run appium inspector using my browser, you can see what appium I use here https://inspector.appiumpro.com/ and to using this method, I must be run appium -allow-cors in terminal. But, the system display this: How I can resolve this…
1
vote
0 answers

Intellij automatically export test results from java

In intellij I run a large number of classes with many test. Is there a way to export the tests result automatically ? ( i don't want to export after finish by clicking the export icon) I want that at the end of each class (AfterClass) to tell him…
Gil
  • 25
  • 3
1
vote
1 answer

Appium Inspector: Request timeout, failed to create session

Installed latest version of appium, and get request timeout. version appium: Appium-1.20.2-4 tried: change the remote path : /wd/hub This screenshot of the error, kindly any suggestion solution for this error? Thanks in advance.
yoppie97
  • 41
  • 4
1
vote
1 answer

Error installing opencv4nodejs on Mac for Appium

I am trying to install the opencv4nodejs on my Mac Monterrey, for the usage of OpenCV with Appium. npm ERR! code 1 npm ERR! path /Users/michael/node_modules/opencv4nodejs npm ERR! command failed npm ERR! command sh -c node ./install/install.js npm…
Michi109
  • 23
  • 3
1
vote
1 answer

AndroidDriver cant be initialized after mvn clean

As usually, before running mvn test i executed mvn clean, but this time a lot of things started downloading, once it finished i ran the code and got this error: class org.openqa.selenium.Platform$22 cannot be cast to class java.lang.String…
André Kuljis
  • 90
  • 1
  • 9
1
vote
1 answer

How do I run parallel threads/processes in a single test in Appium (Python)?

In Appium (using Python) I want to send the app to the background, do some work while the app is in background (that would send a push notification to the app), and then return to the app. I tried to do it with threads (threading.Thread Python…
zorglub76
  • 4,852
  • 7
  • 37
  • 46
1
vote
4 answers

Support for Legacy Capabilities is deprecated; You are sending "deviceName" which is an invalid capability

I was trying to setup a project with Java and Appium. Thing is that I am just learning it and I got stuck on first few lines of the code Screenshot of the issue I am trying to set the "Desired Capabilities" but there is an issue stating that these…
Aksel
  • 11
  • 3
1
vote
1 answer

Can I run Robot tests with Appium in Sauce labs?

I am doing mobile testing and thinking to migrate my tests to the Sauce Labs platform. I have to do automated testing and the platform needs to run Appium with robot tests. Can I run tests written in Robot Framework (with Appium) in Sauce Labs…
Exploring
  • 2,493
  • 11
  • 56
  • 97
1
vote
1 answer

Scroll Through Android app using appium-Javascript

I am doing automation testing using appium, webdriverio, nodejs and I want to set elements value after scrolling, how can I do it? I have already tried MoveTo, touchAction,scrollIntoView methods on webdriverio documentation but unable to do it.
1
vote
0 answers

Not able to see dynamic elements

Appium app source image Is there any way to expand the app source hierarchy? Dev mobile team already added the identifier for these options but its not visible in app source.
1
vote
0 answers

Is there a way to automate scanning QR Code for Mobile App with robotframework

Hello Is there a way to automate scanning QR code using robotframework for mobile Applications? Any proposal ? available scripts?
M.GR
  • 39
  • 4
1
vote
1 answer

Unable to retrieve element id for password field on login.microsoftonline.com page

The login process to https://login.microsoftonline.com was working fine until this weekend. I was able to select the username by id and can pass the keys but the problem is with the password field. This is the element i used for…
VnQ
  • 11
  • 2
1
vote
0 answers

Appium - the previously found element is not in the current view anymore (but an identical one is)

I'm testing an app where, after logging in, you create and confirm a six-digit pin. I'm just using the pin 123456 for testing. This block gets run twice: final String PIN = "123456"; for(char c : PIN.toCharArray()){ …
SIGSTACKFAULT
  • 919
  • 1
  • 12
  • 31
1
vote
0 answers

Error: Simulator architecture is unsupported by the app. Make sure the correct deployment target has been selected for its compilation in Xcode

Appium - iOS - Macbook M1 chip Appium inspector: 1.21.0 Encountered internal error running command: Error: Simulator architecture is unsupported by the '/var/folders/02/pmtd5x_51_34lk5hp_1h4c000000gn/T/2022327-78661-1k3io4.g3jny/------.app'…
1
vote
0 answers

WinAppDriver, Appium, C#, Connecting To An Already Running Window on Windows 10

I'm trying to automate the use of an application with WinAppDriver and Appium on Windows 10 using C# .Net. I'm trying to attach to an already running Window and I've been failing to find a way. I've tried many examples on the web, including from…
John Alway
  • 65
  • 10