Questions tagged [appium-java]

117 questions
0
votes
1 answer

Serenity BDD get UID of WebelEmentFacade

I am testing Android and IOS applications, and i have an issueto get the UID of an element. When i evaluate the element on Intellij, i have those key and value : Evaluation of element What i want is to get the value of "id", but i tried a lot of…
Yoan
  • 1
  • 3
0
votes
0 answers

Appium Framework

Appium We are trying to create a framework for Appium. We use Cucumber. We chose the Amazon site for testing purposes. The problem is that when I create the locaters in the StepDefinitions Classes, everything works fine. But we added locators to…
0
votes
2 answers

A iOS mobile webelement becoming non clickable when user goes two steps away from the page and try to comeback

I have a Flutter app, which I believe comes under native app on iOS device with Appium 2.0beta66, java_client 8.5, JDK 15. I have a pageA with with a link A, by clicking which I go in to pageB with 3 links B1,B2,B3, each would take me to pageC Now…
PraNuta
  • 629
  • 3
  • 12
  • 33
0
votes
0 answers

is there any alternate way to install appium uiautomator2 driver apart from running "appium driver install uiautomator2" from CLI

I am starting with a new project setup for mobile test automation with appium-java. I have installed appium server in my machine but facing a problem while installing appium drivers for Android and IOS automation using commands [appium driver…
0
votes
1 answer

launching Android Chrome Browser through Appium Automation using emulator is throwing error and chrome browser is not launched properly

Screen when the code is run and chrome is launched` Appium server is also running and even the chrome browser is launched but displays blank white screen after launching Below is the error while running the code. SLF4J: No SLF4J providers were…
0
votes
0 answers

Upgrading Selenium's selenium-java from 4.8.1 to 4.9.0 and using Appium's java-client 8.3.0 causing error

I recently updated Selenium (Java) from 4.8.1 to 4.9.0 - this seems to be part of the error below. Note: I'm using the latest stable releases of Selenium and Appium via my pom.xml. I've also tried this compiling to Java 8 and Java 17. Attempting to…
0
votes
0 answers

Appium with Flutter app, a web element content description is shown null even though the element attributes show some string value

I am trying to test a Flutter application with Appium 2.0.0.beta 57, using Java 15. I created a web element like here @AndroidFindBy(className = “android.widget.Button”) // @iOSXCUITFindBy(iOSNsPredicate = “type ==…
PraNuta
  • 629
  • 3
  • 12
  • 33
0
votes
0 answers

how to pass the com.android.permissioncontroller.permission.ui.ReviewPermissionsActivity screen with Appium?

I'm trying to learn Appium and I'm trying to do some basic stuff over here. Here is my environment configuration. java version "20.0.1" 2023-04-18Java(TM) SE Runtime Environment (build 20.0.1+9-29)Java HotSpot(TM) 64-Bit Server VM (build…
0
votes
0 answers

java.lang.NullPointerException error displays upon execution of test

I am a beginner in automation, and I am writing a class to initialize and teardown the driver after execution, but I keep getting nullpointerexception. I added some breakpoints in teardown method to debug, it prints 1 and 2 and then…
Disturbed
  • 21
  • 3
0
votes
1 answer

Getting error while running appium test on Android - Failed configuration

My appium test cases are running fine for mobile automation and all of a sudden getting error for all test cases. Below is the response [RemoteTestNG] detected TestNG version 7.4.0 SLF4J: No SLF4J providers were found. SLF4J: Defaulting to…
0
votes
2 answers

java.lang.NullPointerException at io.appium.java_client.service.local.AppiumDriverLocalService.destroyProcess(AppiumDriverLocalService.java:220)

I encountered this error when i run appium server programmatically, but the test code i wrote was executed successful with the results and connected to the emulator(android studio). package com.codenbox; import java.io.File; import…
Poploy
  • 60
  • 1
  • 6
0
votes
0 answers

Getting Session ID is null. Using WebDriver after calling quit()?

I am getting the following error when using Selenium: org.openqa.selenium.WebDriverException: org.openqa.selenium.NoSuchSessionException: Session ID is null. Using WebDriver after calling quit()? Build info: version: '4.8.2', revision:…
0
votes
0 answers

Sendkeys method not entering the @ in the text box in windows desktop application using appium

Using the sendkeys to enter the '@' in the email id field is not working, instead of '@' the 'G' is getting entered. sample Email: Grady@gmail.com Output in the email using selenium: GradyGgmail.com code snippet: Actions action = new…
0
votes
1 answer

Not able to locate element using following-sibling or following in Appium for Mac

I'm trying to locate the checkbox in the below xml path using xpath following-sibling. But unable to locate the element. Following is the xml.
Harish
  • 306
  • 1
  • 4
  • 14
0
votes
1 answer

Adding Jackson-databind 2.14.2 to pom creating error at Pom.xml

This is the jackson databind artifact i tried to add com.fasterxml.jackson.core jackson-databind 2.14.1 Adding Jackson…
surya
  • 1
  • 1