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
0answers
13 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
44 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
15 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
38 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
22 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
19 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
65 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
9 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
39 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
47 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
32 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
29 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
13 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
30 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
16 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
26 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
201 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?
0
votes
1answer
64 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
11 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
48 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
23 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
45 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
36 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
61 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
126 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
41 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
107 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
183 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
321 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
107 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
61 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
381 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....
0
votes
0answers
49 views

downloaded pdf file in internal Shared storage in mobile android device

Here after downloading a file in chromebrowser in mobile I'm trying to check that filename is present in Internal shared storage downloads folder in mobile but it is showing null exception. How to ...
0
votes
0answers
34 views

Android parallel testing with Selenium Grid and Docker

I know that this topic was brought up many times, but still I cannot get it. I have the following docker-compose file: version: '2' services: # Selenium hub selenium_hub: image: selenium/hub ...
1
vote
1answer
278 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
56 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
133 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?
0
votes
0answers
35 views

Does Xamarin.UITest require a server to be running like Appium?

I am researching the pros and cons of Appium vs Xamarin.UITest for my company's new app automation effort. I know Appium requires a server to be running before the test is executed; does Xamarin....
1
vote
1answer
1k 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)?
4
votes
4answers
860 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
157 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 ...
-1
votes
1answer
322 views

Remote Session does not start from Selenium script to emulator but same Desired Capabilities works fine from Appium to emulator

For some reason when trying to start a Remote Session with Selenium scripts with Desired Capabilities for an Android emulator I get and error saying org.openqa.selenium.SessionNotCreatedException: ...
0
votes
1answer
191 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
6k 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
38 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....
2
votes
1answer
158 views

Appium-based framework for testing desktop app (not web)

Anyone had experience in automating desktop applications (not web)? I need an Appium-like solution to integrate it with my mobile automation (written on Appium, Java). Our company has a messenger ...
2
votes
0answers
727 views

I have been struggling for more that a day to fix the Duplicate class given when running my android project for automation

Error: Duplicate class org.openqa.selenium.SearchContext found in modules jetified-java-client-7.3.0.jar (java-client-7.3.0.jar) and jetified-selenium-server-standalone-3.141.59.jar (selenium-server-...
0
votes
1answer
238 views

Launching Twitter through Appium on a real device results in an error

I've just started using Appium with Python and I'm running into trouble when trying to launch the Twitter app. I have tried to launch the play store by typing: adb shell "dumpsys window windows | ...
1
vote
0answers
135 views

There is a way to identify font type in an Android app? (Python, Appium)

Here is the deal: i'm testing an android app and the client wants us to test font types, sizes and colors. Using Appium's explorer i'm able to see the objects properties (such us: text, enabled, etc) ...

1
2 3 4 5 6