Questions tagged [appium-android]

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

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.

Please read the documentation and tutorials.

For additional help, please use the following resources:

  • Discourse Discussion Group
  • Appium Chat
  • Documentation
1351 questions
-1
votes
1 answer

Getting UiAutomator exited unexpectedly with code 0, signal null error in android version above 10 in redmi

Im getting below error in devices which is having more than 10 android versions. enter image description here
-1
votes
1 answer

Appium inspector can't start session

I can't start session in Appium inspector, I have spent all my time but still haven't found a working solution. starting the session is only greeted with: Failed to create session. An unknown server-side error occurred while processing the command.…
bounyh
  • 1
-1
votes
2 answers

Any suggestion how to remove error "SyntaxError: Cannot use import statement outside a module" while running Appium.js from Java code?

Any suggestion how to remove error "SyntaxError: Cannot use import statement outside a module" while running Appium.js from Java code? Trying adding type: "type": "module" in your package.json or the .mjs extension. when "type": "module" added the…
mittalri
  • 21
  • 3
  • 7
-1
votes
2 answers

Send Key not working in Appium with Python

I have used three types of send keys but still it is not working
-1
votes
2 answers

Jenkin Pipeline stuck after sh command

I had created automation framework where selenium and appium android both are used , I had setup jenkins on aws ec2 ubuntu , I am using jenkin pipeline to run test pipeline { agent any environment { APPIUM_PORT= 5555 } stages…
-1
votes
1 answer

How to update system apps in AWS device farms?

We have some of our scripts not working because the Android System WebView and Chrome browser versions are 74 version. We want to have 88 version on them. In our local emulator, we were able to update them but since AWS have unrooted devices, we…
-1
votes
1 answer

Is there any way of clearing cache and free up space from android using appium python?

I run an app and from the app it directs me to chrome for login. After which I give my email and password and then after successful login I get redirected to app. Now the question is in case I need to run it again I need to manually clear the cache…
-1
votes
1 answer

i am getting an error trying to run Appium test

running the following code: public static void opencalculator() throws MalformedURLException { DesiredCapabilities cap=new DesiredCapabilities(); cap.setCapability("deviceName", "android x86"); …
-1
votes
1 answer

NoSuchElementException when element is present

Here is my code: @return_to_home() def test_upvote(self): driver.find_element_by_id("com.ATG.World:id/fab").click() driver.implicitly_wait(timer) …
-1
votes
1 answer

so if we need to setup an auto tests (Appium) of an iPhone app from our Win 10 setup - what are all of our options?

for Android - we just run the emulator and hook them up but for iPhone what are our options? can we also run some iPhone emulator? or hook up an actual iPhone via USB? or have our code connect to virtual (or real) MacOS that has an iPhone emulator…
-1
votes
1 answer

How to change the IMEI number of a rooted android device via appium or adb?

I want to change the IMEI of a rooted Android device via adb so that the entire process could be automated via appium. Is there any way I could do that using appium. And if I'm approaching this the wrong way then please suggest me some…
lulz1234
  • 9
  • 1
  • 3
-1
votes
1 answer

can't find uiautomatorviewer-26.0.0-dev.jar

I am trying to start uiautomatorviewer under /.android/platform-tools/bin/ uiautomatorviewer but it gives me "can't find uiautomatorviewer-26.0.0-dev.jar I checked the path but I didn't find any issue. In one post I read that Monitor has taken the…
Mehmet Gul
  • 11
  • 3
-1
votes
1 answer

Best approach for android application automation

Which would be a best approach to automate test cases for the android app. Suitable for continuous integration Currently trying it out with Java + Appium + Docker. Any other suggestions?
Baala
  • 481
  • 3
  • 11
-1
votes
1 answer

Getting no such element exception when I am using @FindBy annotation, working fine when I used driver.findelement(By.id())

I am using java with appium. I executed my code using 2 ways. One -when I am using below code it is working fine. public class On_BoardingPages MobileElement smsField = driver.findElement(By.id("pinEntryViewVerifyCode")); …
Tester
  • 51
  • 1
  • 12
-1
votes
1 answer

How to find parent element based on its child element using XPath

I'm creating a function to return the given element's XPath. To do it, I need to find a way to get the parent element of a given child element. I'm wondering if there's a way to do it like this: AndroidElement parentElement =…
Amit Yahav
  • 44
  • 1
  • 7