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
1 answer
109 views

Selenium Couldn't identify App crashes Android

Sometimes app crashes. But Selenium can only handle "noSuchElementException" or "TimeOutException". Does Appium runs a listener or something which tracks if the app is crashed? I ...
-1 votes
0 answers
10 views

How can I solve this problem using Appium

From a DOS command line in Windows: C:\Users\ASUS>appium 'appium' is not recognized as an internal or external command, operable program or batch file. C:\Users\ASUS>
0 votes
1 answer
326 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
1 answer
757 views

Appium TestNG error : Attempting bi-dialect session, assuming Postel's Law holds true on the remote end

I'm trying to launch a simple web application test using Appium, using AVD. I'm using eclipse, and the android studio emulator. I included all the packages. I would like to make sure about the ...
1 vote
1 answer
612 views

What application types are supported by winappdriver

I have application which has extension as .msc, I tried it with python I also ran winappdriver before executing this script. I have seen demo codes on some blogs which uses .exe file extension for the ...
0 votes
1 answer
620 views

Different context name for webview in Hybrid Android App test through Appium

While testing Hybrid android app in Appium, a change of context from NATIVE to WEBVIEW is expected. But, the name of the WEBVIEW context does not remain same at all instance of testing. However, it is ...
0 votes
1 answer
412 views

Switching to webview fail in Android on Mac OS

I have a problem while switching from native view to webview in Android while testing on MAC OS. But the same scripts works fine in windows. In Mac it gives chrome not reachable as a webdriver ...
0 votes
1 answer
367 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
2 answers
3k views

Device emulator-5554 is not online - while executing my appium code on android emulator

[Error: An unknown server-side error occurred while processing the command. (Original error: unknown error: Device emulator-5554 is not online Im getting above error when at the middle of the test ...
0 votes
1 answer
119 views

How to resolve inconsistent Appium Desktop versions and update messages?

If I go to appium.io I find a download link at github.com/appium/appium-desktop for stable 1.13.0 at https://github.com/appium/appium-desktop/releases/ There also exists a github.com/appium/appium ...
0 votes
1 answer
746 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 ...
0 votes
1 answer
947 views

When i run my appium code during run time i am getting this error "Exception in thread "main" java.lang.NoClassDefFoundError"?

I have written a code to launch my app and click on the element, the app is launching but after launching when it is trying to click, I am getting an error which I am not able to understand why. ...
0 votes
1 answer
21 views

Appium version issue

I am confused to see what Appium version is installed on my machine. If I look into Appium UI it shows Appium v1.22.3 but When I check from cmd it shows 2.0.0-beta.71. how do I know which one is ...
0 votes
0 answers
15 views

Issue when trying to switch with _driver.Context = "WEBVIEW_chrome" statement, using appium/selenium in c#

Open the app and do some actions using appiumdriver. Reinstating the driver to use WebView_Chrome with : string chromedriverPath = "C:\...\bin\Debug\net6.0\chromedriver.exe"; var ...
0 votes
1 answer
26 views

Can Appium be used for web testing on a Mac with PyCharm?

I wanted to automate my project, which has three parts: Web testing Ipad app Ios App I have started with the web testing, by following all the steps on appium.io and installed Appium Server, Appium-...
0 votes
1 answer
729 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
1 answer
3k views

Server-side error occurred while processing Appium-server

Please help me learn how to identify problems in Appium mobile automation: I don't know where to look to identify the error. I built a test app with android-sdk on my physical mobile phone. I took a ...
0 votes
2 answers
181 views

Unable to scroll element in Appium 1.20

I'm using Appium 1.20. I'm trying to find a way to scroll to an element. public static void scrollToElement(WebElement e) { JavascriptExecutor js = driver; HashMap scrollObject = new HashMap();...
0 votes
2 answers
258 views

Is there any alternative for AppCenter for mobile testing in Azure DevOps?

I am new to mobile testing, and using Appium for my tests. We are using Azure Devops. Since our team is relatively small and there's no really budget for QA, I am looking to see if there's any way I ...
0 votes
1 answer
587 views

Not able to run application through emulator in mac

Code: public class AppDAta { public static URL url; public static DesiredCapabilities capabilities; public static AndroidDriver<AndroidElement> driver; //1 @Test ...
0 votes
2 answers
194 views

Appium: Parallel execution halts if test is complete on one of the device

I am trying to run 2 different tests on 2 different emulators parallelly. But my execution halts on 1 device as soon as the test on other device is complete. I am using the below driver setup code ...
0 votes
1 answer
72 views

Activating plugin on Appium Server2.0

I'm running Appium Server 2, and some plugins show up as active, but some don't. I would like to enable the element-wait plugin, how do I do that?
1 vote
1 answer
980 views

Appium android clear app data

My scenario is, I'm switching from one app to another in an Android phone. While switching from one app to the other, I want to clear all data or do a hard reset of the app I'm switching from. Also ...
0 votes
2 answers
4k views

Unable to start Appium server

I'm using Appium for mobile automation,as soon as i click on start, within no time the server gets ended, it displays below error : Launching Appium server with command: C:\Program Files (x86)\...
1 vote
2 answers
8k views

How to fix DesiredCapabilities error in java appium?

I am getting this error "The type org.openqa.selenium.remote.DesiredCapabilities cannot be resolved. It is indirectly referenced from required .class files" when I compile and run the program. when ...
1 vote
1 answer
2k 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
1 answer
1k views

Appium, clicks on buttons sometimes has a very long delay (on some views)

While testing by Appium (using Python), it clicks on some buttons with a very long delay on some views in my Android app. The method I am using: def click_element(self, element, time=wait_time): ...
0 votes
2 answers
1k 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....
0 votes
1 answer
183 views

Android Function testing report generate using Appium + Python

I am currently working on a mobile application with appium with python. There are a lot of options for every file selection in that. Currently checking if processing all the types of files are ...
0 votes
2 answers
666 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 issue....
0 votes
1 answer
1k views

When I run my Appium script I am getting error "TypeError [ERR_INVALID_ARG_TYPE]" which I am not able to understand

I wrote a script to automate my app using appium with java-script(nodejs), but when I run it I am getting error. This is the code which I have written. var webdriverio = require('webdriverio'); var ...
0 votes
2 answers
1k views

How to click on an iOS MobileElement (button) whose attribute "name" is dynamically generated on the run using Xpath?

Below is the XPath- //XCUIElementTypeButton[@name="8/13"] The numeric value in the above XPath changes and is not static. There are more then 10 buttons on the screen, I want to click on the first ...
5 votes
2 answers
836 views

Unable to launch Safari on iOS using Appium

I am automating some tests a real device (iOS) using Appium and Cucumber. My idea is to do the following steps: Open the app Do some tasks Launch Safari Navigate to a website, lets say google.com for ...
1 vote
2 answers
2k 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
1 answer
7k 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....
0 votes
1 answer
339 views

How to reset app between tests in WDIO?

I'm currently trying to get WebDriverIO working with Appium and Mocha (BDD) towards an Android device. Previously when I've worked with Mocha the behavior has been that testcases are isolated from ...
0 votes
0 answers
18 views

Seeking Suggestions for Automating a Smart TV App in a CI/CD Pipeline with Broad Device Coverage

We have a client who wishes to automate their Smart TV app within a CI/CD pipeline and aims to cover as many devices as possible. Currently, I am the sole QA on this project and am exploring setup ...
0 votes
2 answers
6k views

How to automate a select an item from list with Appium?

The app I want to test is a hybrid app developed with AngularJS. I'm trying to automate a scenario with Appium. To open a page with elements to select date -> today, tomorrow and pick a date. <...
0 votes
1 answer
215 views

Getting this error when i run my java appium script

When I save and run the code the compiler is showing error with respect to DesiredCapabilities I thought I might have made an error while importing the jar so I uninstalled everything and installed it ...
2 votes
3 answers
879 views

Close a one windowHandler at the Webview

I am writing scripts to automate a hybrid application. On my app I have two windowHandles. For example, after performing some actions when I execute below code I get "2" windows as the windowHandles ...
1 vote
1 answer
192 views

How to extract adb dumpsys response for validation?

I need to validate few status of the android device. Can any one let me know how to extract the information from adb dumpsys and validate the responses using Java. Your help is much appreciated. Ex: '...
0 votes
0 answers
24 views

Is it possible to use Appium to automate an iOS application on a Windows machine?

I need to automate an iOS application with Appium, C# on a Windows PC using SauceLab. I can utilize any real-time device or emulator that is linked to saucelab. I only have a Windows computer here. Is ...
0 votes
1 answer
68 views

Using a small number of available user properties across a large number of threads

I'm currently building a testing framework for functional tests. I can run them in parallel using Cucumber but I have run into a problem in creating users for each thread (each test requires a brand ...
2 votes
1 answer
2k views

Appium stuck after context change from native to webview

I am testing a Hybrid Android app - Tubemate in Appium. I'm using the following configuration: selenium-java = version 3.0.1 appium java-client = version 4.1.2 chromedriver = version 2.19 Android = ...
0 votes
3 answers
232 views

Not able to enter case-sensitive credential in android app

I am writing a test case for an android app where the app requires case-sensitive credentials. I writing test cases using appium and TestNG. Steps I am following are - Launching app Entering ...
2 votes
1 answer
4k views

How to save Appium logs to a local text file?

I am using Appium to automate all my test cases related to IOS device using Java, Logs are currently displayed on Appium app itself. I want to save them in a text file so that i can check error after ...
1 vote
1 answer
2k views

How to select a dropdown value in Selenium WebDriver using Java appium?

I am new to Selenium, currently am working on selenium webdriver. I want to select a value from the drop-down. But I am not able to do it because of some error. Also, I want to inform you that in my ...
0 votes
2 answers
873 views

Count all elements with the specific resource ID on the scrollable view

Here is the question. How can I count all the elements with the resource ID body_bubble on a scrollable view ? When I use the driver.findElements (By.id ("body_bubble")).size() method, it gets only ...
0 votes
1 answer
3k views

Maven TestNG multiple suites in different folders

I'm working on a mobile automation task where I need to run test suites in parallel for 3 different iOS apps. Each test suite has its own testng.xml with a section configured to run on a device. I ...
0 votes
1 answer
1k views

Appium: How to resolve Class cast exception for iOS driver? "java.lang.ClassCastException"

I referred to one of the answers posted in this forum and when I attempted to run following code NetworkConnection mobileDriver = (NetworkConnection) appiumDriver; if (mobileDriver....

1
2 3 4 5
7