Questions tagged [appium-java]
117 questions
1
vote
1 answer
Can I run Robot tests with Appium in Sauce labs?
I am doing mobile testing and thinking to migrate my tests to the Sauce Labs platform.
I have to do automated testing and the platform needs to run Appium with robot tests.
Can I run tests written in Robot Framework (with Appium) in Sauce Labs…

Exploring
- 2,493
- 11
- 56
- 97
1
vote
0 answers
Error: Simulator architecture is unsupported by the app. Make sure the correct deployment target has been selected for its compilation in Xcode
Appium - iOS - Macbook M1 chip
Appium inspector: 1.21.0
Encountered internal error running command: Error: Simulator architecture is unsupported by the '/var/folders/02/pmtd5x_51_34lk5hp_1h4c000000gn/T/2022327-78661-1k3io4.g3jny/------.app'…

Sumit Kathuria
- 11
- 1
1
vote
0 answers
A new session could not be created. (Original error: The following desired capabilities are required, but were not provided: platformName,deviceName)"
Here is my Java code:
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import io.appium.java_client.android.AndroidDriver;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.testng.annotations.Test;
…

Shehreen Mushtaq
- 11
- 1
1
vote
1 answer
Appium Test Connection Refused
I'm trying to run this simple test on Appium on an android phone that's supposed to open a calculator application but I keep getting errors.
This is the code I've written :
package appiumTests;
import java.net.MalformedURLException;
import…

Mohamed Deraz Nasr
- 11
- 2
1
vote
1 answer
Android mobile: scroll performed properly, but scroll not stopping on corresponding lookup value defined against selector arguments
In Appium (android) I am using mobile command mobile:scroll to scroll, based on this reference.
Scrolling is working perfectly, but not not stopping on corresponding lookup value defined against selector arguments.
Code
@AndroidFindBy(uiAutomator =…

DeepakVerma
- 179
- 1
- 3
- 14
1
vote
1 answer
selenium.UnsupportedCommandException: the requested resource could not be found, or a request
getting exception
FAILED CONFIGURATION: @AfterClass tearDown
"org.openqa.selenium.UnsupportedCommandException: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped…

mittalri
- 21
- 3
- 7
0
votes
0 answers
Cannot start Appium on Device because of apk sign
I’m encountering a problem in a terminal device that has Android 10 where my app is running. I tried to run appium and got the next error, it installed de Appium Settings apk successfully after signing it with the provided key and repeated the…
0
votes
0 answers
Pagesource does not update in UIAutomator2/Appium
UIAutomator2 with Appium 1.x on Mac
While testing an Android device/emulator with Appium I am finding that the pagesource of the webhybrid seems to get 'stuck'.
Our login process uses a 3rd party's api and webpages. We pull these into our app and…
0
votes
0 answers
io.appium.uiautomator2.common.exceptions.UiAutomator2Exception:Timed out after 15536ms waiting for the root AccessibilityNodeInfo in the active window
unfortunately im facing following unknown error while executing my automated test:
--> error: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error:…

TraFFy
- 3
- 3
0
votes
1 answer
zsh: command not found: I am installing appium but it always gives this as a result, how can I solve it
enter image description here
zsh: command not found: I am installing appium but it always gives this as a result, how can I solve it.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
/bin/bash -c…

Emre Koc
- 1
- 1
0
votes
0 answers
I can't display elements with Appium Inspector
I'm testing an iOS app,
I'm using this capabilitys on my Appium Inspector
{
"appium:deviceName": "iPhone 14",
"appium:platformName": "ios",
"appium:platformVersion": "16.2",
"appium:bundleId": "********",
"appium:automationName":…

fsabbek
- 1
0
votes
0 answers
Appium Correct way to identify keypad is numpad or querty?
Is there is another approach to identify keypad type (Native App).
public boolean isNumKeyPad(WebElement argWebElement){
argWebElement.click();
((AndroidDriver)appiumDriver).pressKey(new KeyEvent(AndroidKey.NUMPAD_1)); / value will…

DeepakVerma
- 179
- 1
- 3
- 14
0
votes
0 answers
How rename steps on test log in Lambda test app automation
i want rename steps like "click element"
steps on lambda test
i have this in code:
MobileElement login = (MobileElement) driver.findElementByXPath("//android.widget.Button[@index='1']");
login.click();
i want rename to differentiate one…

loo
- 1
- 1
0
votes
1 answer
Java io.appium clashes with io.grpc
I'm create some java 11 program (use maven) which using Appium for android testing and gRPC to communicate with other device.
Appium Dependency
…

jon_17z
- 91
- 7
0
votes
0 answers
I am running Appium 2.0 natively on Android Studio - Gradle Dependencies and Repository Necessities?
I am developing a testing suite for an Android Application using Appium specifically for our UI testing. We decided that instead of using Eclipse IDE we would like to run our scripts through Android Studio (and eventually command line for CI/CD…

Garret-Bab
- 1
- 1