Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mobile-automation]

Use this tag for the question & queries related to automation of any mobile app. Automation that is related to software testing on mobile device platform, e.g. iPhone, iPad or tablet, android mobile/tablets.

0
votes
0answers
10 views

Issue invoking Salesforce app through ADB command

I have been facing the following error message while trying to invoke Salesforce application on the mobile device through Appium script: Cannot start the 'com.salesforce.chatter' application. ...
1
vote
0answers
22 views

How can I move slider in Katalon studio and the range starts from 619 to 1443

I'm trying to change the slider value in Katalon, I tried using setSliderValue but I failed, Can anyone help me with this. I want to change the Slider value during runtime, Its 619 by default and I ...
1
vote
4answers
78 views

Katalon or Java+Junit+Cucumber to automate tests?

We are starting to automate web tests, but we don't know what is the best way to do, what is the best option to start and why? And what is the best-easy to use for automate Mobile IOS and Android?
2
votes
1answer
70 views

Unable to launch uiautomatorviewer in mac os high sierra

While clicking on UI-automatorviewer I'm getting below error: /Users/XXXX/Library/Android/sdk/tools/bin/uiautomatorviewer ; exit; -Djava.ext.dirs=/Users/bigdaddy/Library/Android/sdk/tools/lib/x86_64:/...
0
votes
1answer
38 views

What could be some reasons appium automation tests pass on home wifi but fails on work wifi?

What could be some reasons appium automation tests pass on home wifi but fails on work wifi? What should I look out for? Anyone experience this? This is really confusing. When I run it at home all ...
0
votes
0answers
22 views

Not able to scroll to specific element in Msite - Chrome browser - Appium

I have implemented scroll in mobile device with appium. Whenever I am scrolling to some element it is not scrolling properly. Tried with fixed scroll points as well. Here problem is I have small , ...
0
votes
0answers
16 views

I am using Mobile Security Framework. When run python manage.py runserver, it displays this kind of error

File "manage.py", line 8, in from django.core.management import execute_from_command_line ModuleNotFoundError: No module named 'django' Kindly help me out to solve this error. I have installed ...
0
votes
0answers
20 views

Unable to run mobile app automation with saucelabs-connect with appium

I started tunnel in my windows machine, it started tunnel and running and also showing in sauce labs dashboard command used for starting tunnel sc -u username@domain.com -k AcessKey -i tunnelName ...
1
vote
0answers
28 views

How do you get Jenkins to count the build run as pass when failed testng tests are retried and passes? [duplicate]

How do you get Jenkins to count the build run as pass when failed TestNG tests are retried and passes? Description: I have two tests that ran. Test1 passed, but Test2 failed then on retry it passed....
0
votes
1answer
126 views

Appium + Java + Android + iOS : java.lang.NoSuchMethodError: com.google.common.base.Throwables.throwIfUnchecked(Ljava/lang/Throwable;)V

Question: How to fix : java.lang.NoSuchMethodError: com.google.common.base.Throwables.throwIfUnchecked(Ljava/lang/Throwable;)Vmethods. More info: I observed this error for android as well as iOS ...
0
votes
1answer
49 views

TestNG + Appium + Java : [TestNGClassFinder] Warning: Can't link and determine methods of class

Question: How to fix : [TestNGClassFinder] Warning: Can't link and determine methods. More info: My Automation is getting failed suddenly. I know it was working well before & even yesterday. ...
0
votes
1answer
62 views

API automation for a android App [closed]

I have to start API automation for a android App. App is coded in C++. Please suggest the approach as I am new to API testing.
0
votes
1answer
62 views

Cloud device lab vs. in-house (physical) device lab

We are considering two options for our native mobile apps (Android and iOS) testing environments: Either rely on a cloud device lab (AWS device farm) or build our own in-house physical devices lab (...
1
vote
0answers
23 views

Unable to open and close notifications panel with AWS Device farm

My test needs to open and close the notifications panel and go back to the app from an Android device (Moto G4 Android 7 - AWS device farm). So I'm calling the following method in my test ...
1
vote
1answer
116 views

How do I setup and get started with Appium on Ubuntu? [closed]

I have been recently asked to automate flow on mobile devices but I have no clue about mobile automation. I have tried setting up Appium on my machine but to no avail and I find it very cumbersome and ...
0
votes
1answer
426 views

Automated UI Testing Tools for UWP Win10 Touchscreen Tablet Mobile Apps

What are some tools for Automated UI Testing of a UWP Windows 10 Touchscreen Tablet App? I would prefer a tool that allows emulation, records steps, writes the code, outputs errors in notepad, and ...
1
vote
4answers
330 views

Mobile App performance and load testing

How do I check mobile application performance/load testing? Currently, I have checked the app performance over different networks like 2g, 3g, wifi but I want to check how the app will behave when ...
0
votes
0answers
18 views

Andriod App transaction size

I have an android pos app, how can I find transaction size? I have to give some statistics on data storage of transactions. Is there any tool which can help? Client would like to see the three months ...
0
votes
1answer
630 views

Selenium with Chrome mobile emulator- can't make interactions

I'm starting to get frustrated with Chrome emulator: Using JAVA + Selenium + TestNG I'm testing many of our web applications which runs on few browsers. On mobile browser we have a special design - ...
0
votes
1answer
108 views

Executing appium test on kobiton device

I'm running some of my Appium test cases which are written in c# under .net platform on a real time device which is attached to my workstation. Below is my code and it works fine. public void ...
1
vote
1answer
39 views

Appium Automation Test code development - Assertions for all the intermediate pages

I came across a native mobile application testing framework where if suppose user registration involves navigating to 5 screens, then the validation (assertions) for the field labels and properties (...
2
votes
1answer
208 views

Appium Desktop won't open for Ionic App

I am currently trying to automate an ionic app using Appium and Python. I have the Appium Desktop version 1.7.2 installed. However, if I try opening any ionic app using Appium Desktop, it hangs at ...
3
votes
1answer
336 views

Unable to launch Safari on iOS using Appium

I am automating some tests a real device (iOS) using Appium and Cucumber. My idea it to do the following steps: Open the app Do some tasks Launch Safari Navigate to a website, lets say google.com ...
2
votes
2answers
77 views

Tips to grow Mobile Application Testing Skills? [closed]

These little mobile devices in our hands seem simple to use, compact, convenient, and extremely fast but testers need to apply a huge amount of effort, a multitude of skills. Sometimes professional ...
1
vote
0answers
20 views

Issue in script execution on Mac machine using SauceLab [closed]

I am working in software qa company and facing an issue in executing scripts on Saucelab. I got below error while executing single script using Android device on SauceLab using Mac machine which is ...
0
votes
2answers
586 views

How to click on button which clickable=false?

I am trying to automate react native android application, but I am not able to click on the button whose property is clickable=false. This is my code, please help me driver.findElement(By.xpath("//...
1
vote
1answer
96 views

Android: testing location on device cloud

Is there any mobile cloud testing service for Android offering enhanced location capabilities? My requirements are: Playback of recorded GPS/location data GPS data needs to be provided as 'real' data,...
0
votes
3answers
2k views

findElement is not working in Appium on Android

I am trying to click on display button in Settings app. But "findElementBy.." statement is not working, Sometimes I get 'nullpointer exception' or 'no such element exist' exception and some times test ...
3
votes
2answers
95 views

Can I test an app on all devices without purchasing all devices?

Is there any way to test an app on all devices without purchasing all devices?
0
votes
1answer
366 views

How to test mobile browser link directed from app in Appium?

In a test written in Appium, I have a scenario where clicking on android button redirects to the website. I want to check whether the site URL is valid or not. How is it possible to test the link?
0
votes
1answer
274 views

Unable to tap on Search on android keyboard using pressKeyCode(int) method

I am a beginner in Appium automation. The application I am testing, have this scenario where I need to tap on Search button from the native keyboard. I have tried with pressKeyCode method but getting ...
1
vote
2answers
3k views

Showing error - “Returned value cannot be converted to WebElement: {ELEMENT=1} ” in appium using java

I have below configurations : Javaclient : java-client-5.0.2 Selenium : 3.0.1 Java : 144 Appium v1.4.16 This is my code : package com.metatag.poc; import io.appium.java_client....
2
votes
0answers
57 views

What is the single best open source mobile automation tool(for iOS and Android) for mobile application testing [closed]

Here I am looking for testing tool for mobile, What is the single best open source mobile automation tool(for iOS and Android both) for mobile application testing ?
0
votes
4answers
3k views

What is the difference between selenium vs appium webdriver?

When exploring automation for Android with running appium server, I noticed using selenium webdriver my code works fine. In a previous example, I saw appium driver for ios automation. So what is the ...
-1
votes
3answers
613 views

Appium - why does XPath not work (at all / as expected)

Consider my below test code for Appium (WinappDriver). As far as I know, these two locators should be equivalent. Yet the second one fails because the element cannot be found. Is there any reason ...
0
votes
2answers
1k views

Macaca App-Inspector + Appium + iOS : How to fix “Error: connect ECONNREFUSED 127.0.0.1:8001”

Question: I am trying to launch an iOS app using app-inspector. It's failing and I can see error Internal Server Error on webpage baseURL. Getting below error: Error: connect ECONNREFUSED 127.0....
7
votes
2answers
315 views

How to switch from Web App tester to Mobile App tester

I am new to mobile testing - my only experience was to just test some apps in two or three real devices manually. Since mobile development is agile, this needs to use test automation. I have ...
5
votes
0answers
194 views

How to resolve “Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65”? [closed]

Environment: iOS version : 10.2.1 Mac iOS Version : 10.12 [macOS Sierra] Appium : 1.1.0-beta.2 Question: Background : I am trying to automate iOS app. I followed process to setup required for iOS ...
0
votes
1answer
189 views

Appium 1.4.13 How to resolve error: Could not detect Mac OS X Version from sw_vers output: '10.12 ']?

Environment : macOS Sierra, Appium version 1.4.13 (Draco) I am not able run appium. Please help, How to fixed this issue? appium doctor has not worked. Error : info AppiumDoctor ### Diagnostic ...
2
votes
1answer
337 views

Android application not launching with Appium

I have downloaded the latest Appium Desktop to inspect the different elements for automating an app. I was able to launch the calculator app on my Android phone but was unable to launch an app that I ...
0
votes
1answer
217 views

How to auto scroll Appium Server Console log at bottom

Problem : I used to view/analyze Appium server Console logs during any test cases execution. But the problem is Appium server console always Auto scroll to top which result hiding latest logs. I have ...
1
vote
0answers
21 views

How do I automate testing installing an iPhone app?

I am familiar with writing automation for testing web pages in a browser using selenium, rspec, jasmine and similar tools. Now I want to test a new iPhone application that we have developed. The ...
1
vote
0answers
65 views

Are the TEXT locators different in android 6.0 and android 7.0 for Alert box?

I am facing an issue where TEXT property is in UPPERCASE in Android OS 7 while in OS 6 the same property is shown in Sentence Case for the same application. Can anyone suggest why this is happening ?...
0
votes
1answer
31 views

iPhone + macbook + mirror : How can I see/mirror my iPhone's screen on my macbook?

I'm automating ios app. For demo purpose I wanted to mirror my iPhone's screen on my macbook. How can I do it? I am using OS X with version 10.11.4 and iPhone iOS version 8.3 Question - How can I ...
4
votes
2answers
2k views

Unable to scroll and click, as element is not visible in selenium with native android mobile application

I am working with selenium 2.53 , Java 1.8 , Appium 1.5.3 for automation of Native mobile applications. Now i have a condition where length of page is too large and i have to click at the bottom of ...
0
votes
1answer
441 views

Android ADB error for Appium

The Android Debug Bridge (ADB) error below is given when running application on Eclipse. How can I fix this? Checking if an update is available Launching Appium server with command: C:\Program ...
0
votes
1answer
815 views

I got error when running appium script in eclipse

Showing below error while running appium script: Nov 10, 2016 6:27:18 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Attempting bi-dialect session, assuming Postel's Law holds ...
2
votes
0answers
176 views

Java + Appium + iOS [mobile] : How to fix error “Error: spawn ios_webkit_debug_proxy ENOENT”?

I am trying to automate web app on iPhone using Mac. Executing webkit debug proxy for automation on iOS platform. I am facing below issue: RUNNING: ios_webkit_debug_proxy events.js:141 throw ...
0
votes
1answer
3k views

How to resolve : “Fatal error compiling : invalid target release”?

I'm trying to execute test automation using Java + Appium on Mac OS. I have made few changes after that I am getting error: Fatal error compiling: invalid target release It was working well ...
-1
votes
1answer
61 views

Mobile Testing Tools Suggestions [duplicate]

So I’m looking in to automated mobile testing solution and need some suggestions from experience folks who are currently using such tools. So far I’ve evaluated “Silk Mobile” and couple other tools ...