Questions tagged [appium-java]

117 questions
0
votes
0 answers

Exception in thread "main" org.openqa.selenium.WebDriverException: element not interactable (Session info: chrome=91.0.4472.114)

why I try to send key but can't send any key in webview i got this erorr massega what i can do Exception in thread "main" org.openqa.selenium.WebDriverException: element not interactable (Session info: chrome=91.0.4472.114)
0
votes
1 answer

Appium Android-Taking more than 2 minutes to find/click on a mobile element on a real device

I'm new to Appium and was designing a simple testcase to find an element and to click on a mobile element. I used real devices(Android) instead of emulators. It took about 2 mins or more to find the element and click on the element. As choosing…
0
votes
0 answers

Starting Appium Server Programmatically on Linux: Error says ANDROID_HOME is not set even though it is

I am trying to start Appium programmatically but I keep getting this error: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side…
0
votes
1 answer

Automate firebase analytics using Appium

Can we automate firebase analytics(events/views) triggered from android/ios apps using appium-java? i have just triggered the events that needs to be automated and stuck with proceeding further... Is it possible to link to firebase analytics and…
Naga
  • 1
  • 1
0
votes
0 answers

Hybrid mobile apps locator strategy

Have any idea how to locate elements on the Hybrid mobile app?? I have no clear idea about how the elements are being created when creating an android or IOS build for a particular app. Think we have a react app, Is that the same way as identifying…
0
votes
1 answer

Appium parallel test threadlocal

I am trying to run parallel test through selenium grid. I know I have to use "thread local" for parallel execution, but I have a problem with my code. Cannot invoke "io.appium.java_client.android.AndroidDriver.findElementByAccessibilityId(String)"…
M i
  • 1
  • 1
0
votes
0 answers

Appium: Help needed ExpectedConditions.invisibilityOf()

Environment: AutomationName : UIAutomator2 Appium: 1.22.3 Appium Java-client : 8.2.0 Scenario: Registration screen, once all the data provided and submit -> loader displayed. If everything is proper, then next screen displayed else stays on…
DeepakVerma
  • 179
  • 1
  • 3
  • 14
0
votes
0 answers

Failed to launch safari in Simulator Error "[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65"

Couldn't launch the safari browser in XCode simulator please need the helpful Tried to launch the WebDriverAgent.xcodeproj in simulator it worked without any build failures
Akash
  • 1
  • 2
0
votes
0 answers

Xcode set up with Appium

WebDriverAgentRunner Getting this error after updating the Product Bundle Identifier in Build Settings while updating the bundle 'maximum App ID limit has been reached. You may create up to 10 App IDs every 7 days.' Because of this error couldn't…
Akash
  • 1
  • 2
0
votes
0 answers

Lombok entities (like builder) are not compiling after upgrade of appium java client from 7.5.1 to 8+

I have a Gradle project with Appium java-client where lombok is also used. After upgrading java-client to v8.2.0 (tries also 8.0.0, 8.1.0, 8.1.1) the project is not compiling with errors like this: error: cannot find symbol public void…
0
votes
0 answers

How to rename a file in Appium after copying it in to the device using pushFile()?

I am using pushFile() to copy a file in to the folder "/sdcard", which gets copied to "/internal storage/" folder inside the device, but with a different name and extension like "Appium.tmp". For our threat detection app to work it has to be having…
PraNuta
  • 629
  • 3
  • 12
  • 33
0
votes
0 answers

java.lang.ClassCastException: class com.sun.proxy.$Proxy69 cannot be cast to class org.openqa.selenium.remote.RemoteWebElement

public static void scrollToDirection(WebElement webElement, String direction) { HashMap parameter = new HashMap<>(); parameter.put("elementId", ((RemoteWebElement)webElement).getId()); // Here getting issue …
DeepakVerma
  • 179
  • 1
  • 3
  • 14
0
votes
1 answer

Updating from appium 1.8.1 to appium 1.22.3

I'm using Appium for desktop to test windows application with my Java code. I decided to update Appium from 1.8.1 to 1.22.3 I download new Node.js. Deleted uninstalled current version of Appium and installed appium with: npm -g appium I also…
0
votes
1 answer

The method resetApp() is undefined for the type AppiumDriver

I am using appium 8.1.1 java client, I am trying to use driver.resetApp() in my code for IOS app, but it shows as The method resetApp() is undefined for the type AppiumDriver
0
votes
1 answer

Appium shows InspectorMoved

I do have latest version of Inspector installed but it still says inspectorMoved, maybe inspector is not synced with Appium. How can I solve it?