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.

Filter by
Sorted by
Tagged with
0
votes
1answer
476 views

App is launched but not able to perform further actions (App automation using appium)

I am new in mobile app automation I have successfully launched Google Playstore application in my android device. but,i can not click on next tab "GAMES". My Code package com.automate.app.screens; ...
0
votes
0answers
19 views

Unable to install apk & launch the application in Appium

Appium Server Log: [ADB] Getting package info for 'io.appium.unlock' [ADB] Running 'C:\Users\ab.chauhan\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 93e6ecca0903 shell dumpsys ...
0
votes
2answers
54 views

How to scroll horizontally knowing that the required tab has no unique ID (Appium using Java)

What I want to do is scrolling horizontally in a tab that doesn't have a unique ID. I have code how to scroll using id and textmatches like this example: driver.findElement (MobileBy....
-1
votes
0answers
21 views

Where can I find XCUITEST source code?

I want to know how xcuitest works behind the scenes, so I am looking for the source code for xcuitest so that I can go through it. It does not seem to be there in the xctest git repo. Any help would ...
1
vote
3answers
64 views

Mobile Testing Tools

I have investigated several mobile testing tools to test our mobile application. Unfortunately, I have not found a tool that can meet the following requirements. If anyone has suggested a tool(s) that ...
1
vote
4answers
4k 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 ...
0
votes
2answers
158 views

Getting error when i run my test using mocha

I have written a code where it will launch the app,click on the login button ,enter username and password and click on sign in . when i run this using "node 'filename'" it is running fine with no ...
0
votes
1answer
1k 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 ...
0
votes
1answer
460 views

Error showing “Include a platformName” capability

I recently started to learn Appium with Javascript. When executing my script, I am getting an error stating "Include a platformName". I don't understand why, even though I have included it (...
2
votes
1answer
317 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 ...
1
vote
4answers
984 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 ...
1
vote
1answer
105 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,...
3
votes
1answer
483 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 ...
0
votes
1answer
246 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 ...
1
vote
1answer
163 views

Appium | Getting error when using .click or sendkeys

I'm looking to start automation of a mobile application. I went through Appium related articles and most of them suggest to use Appium with Javascript. I explored online and setup appium and my code ...
0
votes
1answer
104 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
2answers
4k views

Appium + Android Camera : How to automate android camera scenarios using Appium? Any work around?

I'm trying to automate an Android test on a real device using Appium in which I have an App that in order to complete a registration will ask the user to take a Selfie, so when the user clicks this ...
0
votes
1answer
990 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
7k 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 ...
2
votes
1answer
504 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
210 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 ...
0
votes
1answer
265 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
votes
1answer
30 views

Selenium and Node js - sites for learning more?

Are there any websites you could recommend for learning Node Js with Selenium. I have some knowledge about Selenium. But I have not used Node Js with it.
0
votes
1answer
384 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 ...
5
votes
1answer
769 views

Getting web driver exception message while tapping list elements using appium

I am using appium 1.4.8 on mac and I'm automating native app using selenium. I am stuck at a situation where I need to tap each element in a list. I wrote below code: List allKeywords=driver....
-1
votes
1answer
35 views

Mac + PyCharm + Python 2.7: ImportError: No module named appium

I just changed PyCharm application from Professional to community and in my v first run I am getting below error. Prior this all tests was working correctly as expected: ImportError while importing ...
1
vote
0answers
244 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 ...
0
votes
0answers
23 views

Jenkins : ERROR: SEVERE ERROR occurs org.jenkinsci.lib.envinject.EnvInjectException: java.io.IOException: Unable to find the login form

I am trying to integrate 3rd party build aws for Automation using Jenkins [version - 2.73.3] I observe below error: ERROR: SEVERE ERROR occurs org.jenkinsci.lib.envinject.EnvInjectException: java....
1
vote
1answer
57 views

How to install Ranorex studio in ubuntu (linux)

Ranorex studio is an automation tool but i can only install in windows how to install in ubuntu
0
votes
0answers
361 views

How do I automate/handle calendar/date picker in Android using Appium?

I want to select dynamic date passed like as input '03 Nov 1965' Id for Calendar Icon: driver.findElementById("package_name:id/btn_basic_info_date_picker").click(); Id for Year: driver....
-1
votes
1answer
59 views

As a beginner how can start learning Appium tool as a Mobile testing?

From where should I start learning Appium - mobile testing. My current organization has an framework which used an Appium to run Script on Mobile devices? What are the challenges do I need to overcome ...
0
votes
1answer
61 views

Appium 1.10.0 + iOS : Unable to accept permission alert

Team, I am facing issues to accept the permission on iOS using Appium. I have tried below options: capabilities.SetCapability("autoAcceptAlerts", true); driver.switch_to_alert() driver.findElement(...
0
votes
1answer
660 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
388 views

Error : Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/

Team, Trying to install lib which is pre-requisite to run my automation code, observe below error : Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/...
0
votes
2answers
193 views

How do you record a jmeter script/create a jmeter test plan for a ssl mobile app? Internet won't connect after setting manual proxy

I can't record a script in Jmeter or Blazemeter to test a mobile app. After setting up the manual proxy, started the recording script in jmeter, installed the ca certificate on the ipad, my ipad ...
1
vote
0answers
86 views

Appium 1.10.0 + Android : Unable to accept permission alert

Team, I am facing issues to accept the permission on Android using Appium. I have tried below options: capabilities.SetCapability("autoAcceptAlerts", true); driver.switch_to_alert() driver....
2
votes
1answer
293 views

Getting 'Exception in thread “main” java.lang.AbstractMethodError' in Selenium Script

This is my selenium code. After I ran this code, I am getting a java.lang.AbstractMethodError. package amazon; import io.appium.java_client.android.AndroidDriver; import java.io.File; import java....
2
votes
2answers
727 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
53 views

Using Page Object Model in React Native iOS

I am using react native with iOS. I have to build an automation framework. I am wondering if it's possible to use Page Object Model? I would like to because with would make the framework robust ...
0
votes
1answer
404 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
165 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. ...
1
vote
2answers
5k 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....
1
vote
4answers
554 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?
0
votes
1answer
44 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
24 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
133 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 , ...
1
vote
0answers
171 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
80 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.
1
vote
0answers
33 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
41 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 (...