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
40 views

What is the approach to create a framework that should handle both Web and mobile app automation cases

I have an application which has web and mobile app (hybrid). Test cases are same for both but locators and actions are different. I would like to create a single automation framework that can handle ...
1
vote
1answer
776 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 (...
0
votes
1answer
28 views

Can i check at a time multiple api in jMeter? [duplicate]

I have started the JMeter in the mobile Application can I test the Multiple API at a time in Jmeter if yes then how can I check the output?
0
votes
1answer
47 views

Appium Inspector find element with the path but appium for java doesn't

I'm testing a mobile app using appium + selenium + java I have an element that I'm trying to find (in order to click on later) by using an xpath. Here is the xpath: //android.widget.TextView[@text='...
2
votes
1answer
366 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
1answer
111 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
527 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
286 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
267 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
1k 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
251 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
294 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 ...
0
votes
1answer
445 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 ...
6
votes
1answer
802 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....
0
votes
0answers
28 views

Appium loses app on iOS when adjusting date

I'm looking for information on why Appium "loses" the application under test when changing the date in the iOS date picker. Using Appium with Python 3, I start an app with these capabilities: { "...
0
votes
1answer
2k 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
2answers
178 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
vote
1answer
38 views

Having trouble automating Android testing with Appium

I'm trying to automate Android testing using Appium. What I want to do is like: My Test Suite: Test case 1: Starting from Activity A Do something Test case 2: Starting from Activity A Do something ...
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 ...
19
votes
14answers
6k views

Tools for testing iPhone apps

I was wondering if there any automation tools out there that can help with the process of testing an iPhone application on the device itself and not on a simulator. Ideally, it would have to simulate ...
0
votes
2answers
301 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 ...
2
votes
3answers
566 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
2answers
3k 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
1answer
359 views

Permissions error trying to run Appium test on Android

I am not able to run my automation testing with Appium server using Eclipse with Selenium. The error I get is: Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to ...
0
votes
1answer
736 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
0answers
20 views

First API call in list has very low Apdex score? What should be done for the same in Jmeter?

Very first API call in list is very low Apdex score even that API is simple list from DB. Due to that the overall average Apdex score is getting decreased. For example, for login there are three ...
0
votes
1answer
151 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 (...
0
votes
0answers
31 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 ...
1
vote
3answers
73 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 ...
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 ...
1
vote
4answers
1k 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
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 ...
-1
votes
1answer
32 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.
-1
votes
1answer
116 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
431 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
33 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
115 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
862 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
79 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
107 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
881 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
2answers
606 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
124 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
642 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....
3
votes
2answers
2k 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
89 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
243 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
827 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
45 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 ...