Newest 'appium' Questions - Stack Overflow

Questions tagged [appium]

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

0
votes
0answers
12 views

I m trying to automate invoking appium server using java coed but i dont see any action taking place

Code is not giving any action I have tried the following and it had some SLF4J issue which is resolved but no action of server invoking package AppiumTests.AppiumTests; import java.io.File; import ...
0
votes
1answer
15 views

Android_Home is invalid according to appium-doctor

In my Macbook, I have set my android home as shown below in the .bash_profile. However, I get an error message saying the path is invalid when I run appium-doctor. I've verified that I can navigate ...
0
votes
1answer
14 views

Appium and python: find element child

So i have application that i am testing and i have this condition that i have element and i want to fine its child. My element: element = elements[0] The child element is XCUIElementTypeButton (...
0
votes
0answers
24 views

How to scroll and click on particular button?

I'm trying to scroll and select color button but i don't know how to scroll right direction. It has same resource=id, class and package name. I have all function added in my mobile class. i tried ...
1
vote
0answers
18 views

Node.js test script not executing with Appium for iOS

I've successfully integrated Appium desktop app and works fine by following this tutorial: http://latestsoftwaretestingnews.com/mobiletesting/appium-ios-testing-with-node-js-step-by-step-guide/ main....
-3
votes
0answers
13 views

Framework to read android layout of the open activity on screen

I'm searching for a framework to read the layout ( e.g. xml) of the current open android/ios app. I know that there is Java Appium to read the layout, but I want to use the framework in a mobile app ...
0
votes
1answer
24 views

How to select <div> with ionic and appium

I always used findElement(By.id) or findElement(By.className) but with the tags used on ionic i dont know how select the element , the code of the app is: <div (click)="openclose('otras')" *ngIf="!...
0
votes
0answers
14 views

Excel read/write with Appium

How to read excel file downloaded folder of Android device with Appium ? Facing issue in getting path of the downloaded folder of the Android device. String downloadPath = BaseTest.getPath() + "/...
0
votes
1answer
36 views

Why are my Java Appium tests working locally, but flakey when run against Browserstack?

I've put together some test suites written in Java using the Cucumber framework and they work fine against Appium when run locally. However, when i run the tests on Browserstack, the tests randomly ...
0
votes
1answer
16 views

how to add Clear system Files in appium

i have to perform login activity in android application using appium java. my application is opening but login is not happening and getting below error in in appium server. [AndroidDriver] Not ...
-1
votes
0answers
14 views

iOS App Automation is possible with iOS Enterprise Account( With Distribution certificate)

I am not able to build my webDriverAgent using my iOS Enterprise account with Distribution certificate not I am able to test my app. But the Same account is working when I am using Developer ...
-1
votes
1answer
33 views

Test Automation Capture Network Data on Mobile Device

Let me share my end to end flow with you which i am trying to automate. I have developed Automation test suite using Java,Selenium and Appium. It does the following: Open Chrome Browser on Mobile ...
1
vote
0answers
23 views

Reason: 'simctl error running 'create': Invalid device type: Iphone Xs'

I'm trying to integrate and run sample automation test using Appium. Followed all the mentioned steps to install and setup environment from http://latestsoftwaretestingnews.com/mobiletesting/appium-...
1
vote
0answers
50 views

About using Selenium in my first android app

After finishing my desktop software that use selenium to sendkeys and get a screenshot for the captcha, i'm trying now to build it for android, but i don't know from where i need to start, i ...
-1
votes
2answers
30 views

how to select data from a array sequentially

I have 3 emails String[] emails = {"x@gmail.com", "y@gmail.com", "z@gmail.com"} I want the code to select x@gmail.com first, y@gmail.com second, and z@gmail.com third, and plug it into this command :...
1
vote
2answers
46 views

Content Description of Alert Dialog buttons

I'm displaying an AlertDialog as follows: private void showAlertDialog(String message){ new AlertDialog.Builder(MainActivity.this) .setMessage(message) .setPositiveButton(android....
0
votes
0answers
21 views

how can I inject audio as input file to google assistant in android device using appium? [on hold]

I have an audio file present in internal memory of the device and need to pass to google assistant in android device programmatically.
0
votes
1answer
31 views

how to specify appium to one device only

I am automating an android device, my target is to automate everything and keep physical maintenance to a minimum. I have two devices with USB debugging on but, when I turn the appium server on it ...
1
vote
0answers
24 views

Appium - Getting error “This socket has been ended by the other party” while doing parallel execution on real devices

Our aim is to run test scripts on 5 physical devices parallel. We are initiating appium server with 5 different ports and all 5 devices are connected in one USB hub. If we do initiate after switching ...
0
votes
0answers
15 views

How to get text value from lineGraphView in iOS using appium?

I want to get text value from iOS LineGraphView object using appium. Can you please let me know how to value from iOS LineGraphView object ? Please find the below screenshot. Graph Properties & ...
-2
votes
0answers
18 views

selenium java appium android device chrome browser network data capture [on hold]

On Android mobile I would like to capture network data for for further debugging & analysis. On Android mobile I would like to capture network data for for further debugging & analysis. As ...
0
votes
0answers
27 views

Appium - Error This version of ChromeDriver only supports Chrome version 75, but I do have ChromeDriver 75

I'm learning how to do tests for Ionic app with Appium and C#. When running a test for Ionic app I get an error: '''Failed to start Chromedriver session: A new session could not be created. Details: [...
1
vote
0answers
18 views

Where is the implementation of the Appium Locator Strategies?

Using Appium to find UI-Elements within a WPF Application, I am searching for the place where the logic of the standard Appium/Selenium Locator Strategies, such as ID, ClassName or XPath are ...
0
votes
0answers
21 views

how to access and click react native elements using XPath in appium test framework?

I want to access and click react-native button using xpath. I'm using Appium framework for automation testing and running android emulator. below is my code: React-native element: <Button ...
0
votes
0answers
26 views

Appium unable to find UI-Elements using XPath

I need to find UI Elements within my Windows Desktop WPF application using xpath and Appiums xpath-selector. It's working fine for "simple" applications but fails for my target application. My ...
0
votes
0answers
12 views

Appium Grid hub select wrong node

I run mobile e2e test with Appium against Selenium Grid. Grid run test on wrong node F.e. we have tree devices A,B,C and nodes in Grid A1,B1,C1 I expect, that device A will use A1 node and so on. But ...
0
votes
0answers
24 views

Appium server returns “Error : Closed” with Code 1

I am starting to use Appium Desktop for Mobile Testing. After the preliminary setup where I set the path and environment variables and defining the desired capabilities, clicking on "Start Session" ...
-1
votes
1answer
25 views

java.lang.IllegalArgumentException: @$Proxy19: one of [name, xpath, iOSNsPredicate] should be filled

All xpaths are upto date and still iam getting this below issue whenever i run the script. java.lang.IllegalArgumentException: @$Proxy19: one of [uiAutomator, accessibility, className, id, tagName, ...
0
votes
0answers
34 views

How to make object repository with Windows Elements in appium

I recently switched roles from building in selenium for web based applications over to building automation with Appium/WinAppDriver for windows desktop applications. On the selenium side I always ...
0
votes
0answers
17 views

Cannot import name 'webdriver' from Appium on Python

I want to use the Appium Python Client to automate testing the apps and have already downloaded the client using pip, but when I follow the docs listed here: https://pypi.org/project/Appium-Python-...
0
votes
2answers
55 views

Xpath based on sibling text value

Please help me in finding the xpath on the below image. I need to select the Image : Checkmark circle (2,0) based on View : number (0,0) text value
0
votes
0answers
20 views

How To Fix Xcode Build Failed For IOS Automation

When Using "Build" For Xcode, Build Failed Shows Up. I use Xcode Version 9.4 I have reinstalled xcode already but this does not work "CompileC /Users/dpua/Library/Developer/Xcode/DerivedData/...
0
votes
0answers
41 views

find element by css finds but cannot send keys because it returns undefined object

FAIL test/Hellow.test.js (11.693s) Hello world test ✕ should allow to enter hello world (11014ms) ● Hello world test › should allow to enter hello world TypeError: Cannot read property '...
0
votes
1answer
32 views

XCUITest Simulator architecture appears to be unsupported by the Appium1.13.0

I am trying to test native iOS app using Appium v1.13.0. When I execute the tests using iOS Simulator lunched by Xcode 10.2, I get the following error from the Appium server. **********************...
0
votes
0answers
25 views

findElementByAccessibilityid is not shown in eclipse intellisense

I am trying to do a POC for a windows app using winappdriver . I have the winappdriver version 1.1 installed up and running. I want to find the elements by using their automationId. As per ...
0
votes
1answer
25 views

How to create a session for Run Dialog in Appium?

By using powershell command I can get the run dialog program id, which is Microsoft.Windows.Shell.RunDialog. However, I can't get this working with the code below. Any idea? DesiredCapabilities ...
-3
votes
1answer
42 views

How do you select index of the list particular value?

I have a list element and when user types 1 it clicks on index 0 element, when user types 2 it clicks on index 1 element, when user types 3 it selects index 2 element and when user types 4 it clicks ...
1
vote
1answer
29 views

How to find installed app version through automated script?

I have a requirement to find the version of an app installed in mobile device and if the version is not latest then install latest version. Here how do i automate to find installed app version? I am ...
0
votes
1answer
17 views

How can I do horizontal swipe until desired element is found in webdriverio for mobile automation?

I want to do horizontal swipe is there any way it can be done for mobile for android using appium webdriverio.
0
votes
1answer
39 views

Install ios-webkit-debug-proxy on Bitbar real device

I am trying to test an iOS application using appium on a Bitbar real device. I start my test by executing an appium test and after the login I need to switch to WEB_VIEW context to continue testing. ...
0
votes
0answers
22 views

Intern 3.4 on IOS safari

When I try to execute intern script on ios simulator, safari window launches out side of simulator and opens page let's browse and further script will never execute. this is happening for all ...
-1
votes
1answer
36 views

How can I automate the scenario when i want to login via google or facebook?

I want to automate the scenario but I am not able to identify the element via appium Uiautomator is there any way I can handle the scenario.
0
votes
0answers
20 views

having problem in touchactions in appium using python

i am making a mobile automation using python in appium but it keeps on giving me an error in scrooling down the page. Everything is working fine except the scrooling of the page enter code here ` ...
1
vote
0answers
26 views

On running more than 70-80 no.of test lines in a single test case then it shows “socket hang up error” or “ESOCKETTIMEDOUT”

On running more than 70-80 no.of test lines in a test case then it shows “socket hang up error” or "ESOCKETTIMEDOUT". Suddenly the test stops performing the test codes and after lets say 15-20 mins it ...
-2
votes
0answers
27 views

How to set min and max values at slider using selenium and java [closed]

How to set min and max values at slider using selenium and java enter image description here
0
votes
1answer
17 views

Set chromedriver timeout in Appium

I am using Appium python-client to test My Hybrid Android app. I was wondering if there is a place to add a timeout setting to chromedriver when find a WebElement? Because when the element to find ...
0
votes
1answer
43 views

Click a button after typing in the text fields, using the Android Chrome browser

I am trying to login on the website: https://201.247.172.70/sslvpn/Login/Login using the latest versions of appium and chromedriver, my code is as follows: DesiredCapabilities caps = new ...
0
votes
0answers
28 views

Appium Inspector Loading image issue and no operation on second native page by appium

I have two query. could any one provide valuable time to resolve below query? Suppose I logged any login application on first page .then how can we perform another operation with latest appium ...
1
vote
2answers
28 views

in appium java client 7.0.0 is the driver.pressKeyCode(AndroidKeyCode.HOME); deprecated, what is to be used instead?

I am using the following environment: PL: Java Appium java client 7.0.0 Appium server version: 1.13.0 Device Samsung Galaxy S8 Android Version 9.0 but when try to enter the following code to click ...
0
votes
1answer
39 views

Appium Desktop recorder is using Xpath instead of Id

I'm exploring my Native App with Appium DeskTop. For an inputfield Appium Desktop is showing in the 'Find By Selector Window' an Id and a XPath expression. When I recorded a Sendkeys action to this ...