Questions tagged [appium-java]

117 questions
0
votes
3 answers

How to press green tick button using Keyboard actions appium android

In my code, I need to press some number and click on green tick button. After I click, expected is hide the keypad and it shows a error validation message.. I have the following code in my script. ((AndroidDriver) driver).pressKey(new…
Ramkumar
  • 116
  • 1
  • 11
0
votes
0 answers

Session override flag isn't working in Appium 1.22.3

I'm starting the appium server using java (AppiumDriverLocalService). Post the execution the appium remote session is not closed, when I rerun the same suite appium is using the same port numbers which is causing the failure of the suite (Port…
0
votes
2 answers

What is difference between Robot Framework and Appium?

I see Robot Framework as a generic automation framework designed for testing mobile apps. But how is it different than Appium? Is it because Appium is cross-platform? My question really is whats the difference between robot framework and appium?
Exploring
  • 2,493
  • 11
  • 56
  • 97
0
votes
1 answer

Futter Driver Automation Testing not working due upgrade in version of Flutter Driver

Can some one help where our app is not showing in Appium inspector and even not working for Automation code in intellij after upgrade to Flutter driver version 3.0 getting error: Unable to create a new remote session. Please check the server log for…
0
votes
2 answers

How to automate Google Play Update App popup using Appium

I am writing the code line as: driver.findElement(By.id("com.android.vending:id/0_resource_name_obfuscated")).click(); //Clicking on No Thanks button - resourceid take from Ui Automator But appium does not respond to this line and give error that…
None
  • 35
  • 6
0
votes
1 answer

I am using Appium and ADB failed to install APK on my Samsung Device

Here is my code: @Test public void testAppium() throws MalformedURLException{ //Capabilities DesiredCapabilities capability = new DesiredCapabilities(); capability.setCapability("platformName", "Android"); // Nexus…
None
  • 35
  • 6
0
votes
1 answer

WebElement cant be found with Xpath

I find the element with By.id, as the following code: element = driver.findElement(AppiumBy.id( "com.test:id/product_detail_nav_host" )); But none of this lines can find the same element: element = driver.findElement(AppiumBy.xpath( …
André Kuljis
  • 90
  • 1
  • 9
0
votes
1 answer

Appium Android driver is un installing for second time even full reset is false

Appium Android driver is un installing for second time even full reset is false. Below are cases i am attaching. ** First time installing as expected ** capabilities.setCapability("noReset", false); capabilities.setCapability("fullReset",…
Rajasekher reddy
  • 383
  • 3
  • 16
0
votes
2 answers

Appium Inspector is throwing ERROR with the same successful desired capabilities which I was able to run my TestNG project

I wrote a simple Java-TestNG project in which the desired capabilities are { URL url = new URL("http://127.0.0.1:4724/wd/hub"); DesiredCapabilities caps = new DesiredCapabilities(); …
PraNuta
  • 629
  • 3
  • 12
  • 33
0
votes
1 answer

starting Appium in port 4723 redirects to port 8200

Currently I am starting programmatically an Appium server with the following capabilities DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, "Android"); …
figuedmundo
  • 375
  • 1
  • 4
  • 15
0
votes
2 answers

Appium server throws "[UiAutomator] UiAutomator exited unexpectedly with code 0, signal null" error

I'm trying to configure a real device with appium using eclipse IDE for testing purpose. Attaching CalculatorTest.java class in which I'm trying to linked a real time mobile device and opens up Calculator application on the mobile device. Mobile…
m.hafeez
  • 1
  • 1
0
votes
0 answers

Mac M1 - Unable to programmatically launch Appium using java appium client

Appium server is initiated and then throws Java.net Timeout exception
0
votes
1 answer

How can I be able to code Selenium web page testing on the desktop Plus native app testing on an Android mobile device, in a single test application?

I have a scenario where I need to a.)Given I Go to a web page dashboard, configure the users, groups, devices then save the settings, which gets pushed to the Android(or iOS) device I had physically connected to my mac(or Windows). b.)When I go to…
PraNuta
  • 629
  • 3
  • 12
  • 33
0
votes
2 answers

How do I narrow down the condition of an explicit wait to a given SearchContext?

I would like to wait until a specific view disappears. In general, I can do it with the following code: val wait = WebDriverWait(driver, Duration.ofSeconds(3)) // where driver is e.g. WebDriver val condition =…
Andrzej Zabost
  • 1,387
  • 11
  • 26
0
votes
1 answer

Appium: WebDriverAgent is uninstalled from iPad and never installed again

WebDriverAgent is uninstalled from iPad and never installed again throwing xcode error: “org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: An unknown server-side error occurred while…
RISHI KHANNA
  • 354
  • 5
  • 23