Questions tagged [appium]

Appium is an open source test automation framework for use with native, hybrid and mobile web apps. It drives iOS and Android apps using the WebDriver protocol.

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

Whatsapp Web QR code Scanning using Appium Java

I have a company in-built web application that behaves similar to WhatsApp web. I need to link/scan using QR code of WhatsApp mobile application with company inbuilt web application using Appium with ...
0
votes
0answers
17 views

Attempting to set context of IOSDriver to webview results in error

I have a Cordova app that I want to automate tests on with Appium, in the iOS Simulator. My C# code looks like this (some stuff omitted): public IOSDriver<IWebElement> driver; string ...
0
votes
0answers
33 views

Error while copying file in to ios device using driver.pushfile [Real device]

I am trying to copy an image file into a real iOS device. I am using Appium 1.20.2. I have installed macfuse, fuse, sshfs, and when I am trying to install ifuse, it is throwing error: ifuse is disable ...
1
vote
2answers
36 views

Is this the only way to add exception handling to high level automated testcases?

We are using Serenity BDD and Appium for automation testing of our Android app. Most of our high level testcases look as follows: observedToast = toastMessageStep.getToastMessage(); ...
0
votes
0answers
30 views

Can we create android emulator on aws ec2 instance

I tried multiple number of ways to get this task done, but no success yet. Has anyone tried to run Appium and Android both in one test suite via Jenkins hosted on AWS EC2 instance? org.openqa.selenium....
0
votes
0answers
54 views

Appium-Could not find ''apksigner.jar''

Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown ...
0
votes
0answers
25 views

Is there a way to only run the test on an element on any screen of app

I am getting an error on my screen while running appium throug Serenity bdd, though the element is visible and has correct locator as define in my script. I want to try clicking on just the button ...
1
vote
0answers
22 views

Scrolling and retrieving values in a list in Appium

I'm trying to retrieve all the values after scrolling in a form of list. But i'm getting some of the repeated values. Please help. Below is the code: ArrayList<String> list1 = new ArrayList<...
1
vote
1answer
65 views

The .App path is not recognised in desired capabilities in my Appium setup

I have set up my desired capabilities on Appium. See below. { "platformName": "iOS", "deviceName": "iPhone11", "automationName": "XCUITest&...
0
votes
1answer
285 views

Appium Pagefactory throws noSuchMethodException when running from POM

When I try to run my appium scripts on the pom file ( with mvn verify or mvn test) I get a java.lang.RuntimeException: java.lang.NoSuchMethodException: jdk.proxy2.$Proxy12.proxyClassLookup() On the ...
0
votes
1answer
42 views

Appium scoll to an element, without scrollable view

I have an android app, that has a list page (eg. 20-30 element), I have to check each list item, how can I scroll to the next list item, if the app is built like there is no scrollview in it? ( only ...
1
vote
1answer
122 views

Getting an error when switching to iFrame on iOS Safari mobile browser with appium

Original error when I'm trying switch to iframe. Same code working fine with desktop browsers. This happens only with safari mobile browser. I'm on appium v1.20.2 SecurityError: Blocked a frame with ...
1
vote
0answers
29 views

How to scan barcode using Appium?

I'm looking for approach/solution on how to scan a bar code using Appium. Is it possible through emulators? or do I need real device for this use case?
1
vote
1answer
22 views

How can we handle SeekBar in Appium?

I wrote a code for SeekBar. I wanted to move the SeekBar but it did not move. When I run the code it gives me values in the console but did not move. Kindly check my code and tell me what I am missing ...
1
vote
2answers
222 views

How can we write scrolling code in Appium with Java?

How can we write scrolling code in Appium with Java? Here is what I want to do, Open the application. Scroll down to the footer. Scroll back up. This is the code that I have written: base.java ; ...
0
votes
0answers
11 views

How can I check the error in the incoming alert message in Android mobile test?

I'm running an Android mobile test with C#. The transaction I want to do is a linked transaction and I want to have it checked. After I press the Continue button, I get an alert message. I want to ...
1
vote
2answers
44 views

1 Repo vs 2: Test Framework Development For Multiplatform Native Applications Using Appium

This question is more of an attempt to gather opinions. I have automated multiple mobile applications that existed as native apps on both iOS and Android. In these scenarios, my go-to pattern has ...
0
votes
3answers
77 views

Error with driver.switchTo().window() complaining that something isn't a string when it is

TL;DR I give my function a string. It complains that what I gave it isn't a string. My code: new WebDriverWait(driver, 5).until(ExpectedConditions.numberOfWindowsToBe(1)); //induce WebDriverWait ...
0
votes
1answer
88 views

Dynamic xpath in page factory appium

public static WebElement selectcity(String cityname) { @AndroidFindBy(xpath="//android.widget.CheckedTextView[@text='"+cityname+"']") WebElement city; return city; }...
0
votes
0answers
73 views

How to run appium tests parallel in c# specflow?

I am new to C# and Specflow. I am using appium, c# and specflow for automating my tests. I have a app.config file where i am mentioning the environment to be run into. A driver class DeviceDriver.cs ...
0
votes
0answers
15 views

Avoid Lite mode Chrome screen in Appium Studio

I am trying to automate web site testing with Appium Studio. But when I start Chrome from it every time there is a Lite mode screen. But I can not close it with my test script because the Chrome app ...
0
votes
1answer
40 views

Appium How to iterate over a listview of unknown length?

IList<AppiumWebElement> els = AppiumDriver.FindElementsByClassName("android.widget.LinearLayout"); var loc1 = els[12].Location; var target = els[1]; var loc2 = target.Location; var ...
0
votes
0answers
20 views

How to scroll current whole screen with UI Automator

I can scroll until get the specified text by the following code driver.find_element_by_android_uiautomator( 'new UiScrollable(new UiSelector().scrollable(true).instance(0)).getChildByText(new ...
1
vote
1answer
27 views

Problem to find element with appium, application is running - appium oen application

I have a problem with testing of aúúlivation. I have this code for net CORE using MS test net.CORE. public class IPTV { static WindowsDriver<WindowsElement> Sessions; [ClassInitialize] ...
1
vote
1answer
344 views

Is there a way to capture screenshot of an element in appium for python?

I want to capture screenshots by elements in appium similar to the one in selenium. I am using python. Could not find much about this, is there any way to achieve this?
1
vote
1answer
192 views

Appium - An element could not be located on the page using the given search parameters

I am just starting with Automatization, but I have a problem with elements. I have this XPath "/Pane[@Name=\"Desktop 1\"][@ClassName=\"#32769\"]/Window[@AutomationId=\"...
0
votes
0answers
13 views

How to check message dispatch status in appium?

I'm testing a chat application with Appium. For each message there is three status Server sent Received Read How can I check the status in Appium? and I need to take screenshots form the receiver ...
0
votes
2answers
61 views

How to automate testing of Zebra TC75X barcode scanner?

I would like to implement test automation for an app running on a Zebra TC75X device (Android OS). The tricky part is the integrated barcode scanner. The device has a hardware button to trigger a ...
0
votes
0answers
27 views

Azure + Appium + C# : While creating azure pipeline I am getting error “You are not authorized to access https://dss-hps.visualstudio.com.”

I am trying to create Azure pipeline to integrate automation. Observed error : You are not authorized to access https://dss-hps.visualstudio.com. Please let me know if anyone face/fix this issue. ...
2
votes
1answer
47 views

How to set up a mobile testing lab for physical parallel execution on Android phones

I need to set up a physical mobile testing lab mainly for Android devices. I have to run test on 100 Android devices in parallel, I will be using Appium with TestNG framework. Please someone guide me ...
0
votes
0answers
49 views

How to validate toast message in Android using Appium Python?

How to validate toast message in Android using Appium Python? Since pop-up message comes and disappears, what will be the best way to validate them?
0
votes
1answer
140 views

Inspecting windows app elements with Appium Desktop - not all window elements detected

Description I am running an Appium Desktop server to inspect and test windows applications. I am trying to run a first test which simply opens the Windows Notepad and inspects all its window elements. ...
0
votes
1answer
152 views

Testing Windows applications with RIDE Robot Framework and Appium?

I have Robot Framework and the RIDE IDE installed. I have tried the Selenium library with RIDE, and works for testing web interfaces. I now want to test Windows Applications. Is it possible to test ...
0
votes
0answers
44 views

Appium - The process did not start within 30000ms

I am using Appuim with automation "Espresso" with following devices capabilities: { "udid": "xxxxx", "deviceName": "xxxx", "platformName&...
0
votes
0answers
141 views

Do we need to run WinAppDriver server explicitly on the remote server where Jenkins will run my automation?

As i am very new and doing POC for my project, I am wondering how can i make sure that WinAppDriver server should run before my Automation test in remote server using Jenkins. Or is it not required to ...
1
vote
1answer
269 views

Scrolling an element into view with iOS native app

I am using Appium + Selenium + Java. I am testing a native app and I sometimes need to scroll an element into view in order to click on it. It seems like, when testing a web app on iOS, you can use ...
1
vote
1answer
48 views

Discriminating between two identical elements when they are both “displayed” and “enabled” but only one is actually visible

I am currently automating tests for a native app and I have some issues with "ghosts" elements. By "ghosts elements" I mean elements that are in the code and technically on the ...
0
votes
1answer
460 views

Scrolling using UiScrollable stops in the middle of the screen

I am trying to scroll down to the bottom of the screen to a UI block using UiSelector class but it's not working as expected. Basically, when I run the code it does not scroll all the way to the ...
1
vote
1answer
146 views

Android/iOS: How to dismiss a popup advertisement while automating an application using Appium & Robot Framework?

Asking a solution to handle these kind of random Ad popups which comes up on any screen of the application. If someone can help with threading solution using Python it would be great.
2
votes
1answer
72 views

App Elements not rendering/inspect in IOS using appium and Xcui Automation testing

Currently working in a automation project. Element tag was not rendered. though i check some random element, I'm getting the message of element is not intractable. But in Ipad I can see the input text ...
0
votes
0answers
555 views

App doesn't launch in emulator, error says- io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0 INFO: Detected dialect: W3C

I am new in mobile automation and first time trying to launch the app in emulator. Just the mobile screen blinks but My app doesn't get launched. Can anyone help me.. import java.io.File; import java....
1
vote
1answer
368 views

Page object implementation for Winapp Driver

I am using Winapp Driver to control a windows desktop application using java. The automation runs fine but I am looking for a way to implement the Page object model. This is what I am using at the ...
0
votes
0answers
61 views

Appium Desktop cannot start an App installed via Microsoft InTune

I'm using Appium Desktop 1.12.1. I want to start a new session and use Inspector. I have a business app that is usually installed via MS InTune. Essentially InTune means I have two categories of app ...
0
votes
1answer
192 views

Appium :Click on capture image button of inbuilt camera in mobile app. is it possible?

Appium(Android) :Click on capture image button of inbuilt camera in mobile app. is it possible?
1
vote
1answer
2k views

Appium(Android Mobile) : Click button using X Y coordinate(if can't find ID or Xpath)?

Appium(Android Mobile) : Click button using X Y coordinate(if can't find ID or Xpath)?
5
votes
4answers
1k views

Can't find the element of a toast message because it disappears immediately

I am trying to add an assertion on the shown toast message in my scenario, Is there a way to stop the screen to find the element of a toast message?
5
votes
1answer
190 views

Appium : Best way to automate e-Signature scenario using Appium?

How to Automate e-Signature? I am trying to automate e-Signature scenario for iOS and android application. Anyone implemented same using Appium? Workaround : I tried to automate e-Signature using ...
0
votes
1answer
261 views

Unexpected error while executing my appium code on android emulator

Error An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and ...
1
vote
1answer
8k views

How to fix No internet/Internet not working for android emulator on windows 10?

Issue I am facing : I have created new AVD from Android Studio (AVD Manager) but the emulator does not have internet. I tried opening www.google.com still "No Internet Connection" displayed. If ...
1
vote
1answer
46 views

Appium - get all elements

I have this code that works where driver is of type IOSDriver<IOSElement> string selector = "type == 'XCUIElementTypeButton'"; foreach (var elt in driver.FindElements(MobileBy....

1
2 3 4 5 6