Questions tagged [appium-java]
117 questions
0
votes
1 answer
Cannot read properties of undefined (reading 'match') appium flutter driver
\[debug] [FlutterDriver] Deleting Flutter Driver session[debug] [BaseDriver] Event 'newSessionStarted' logged at 1672668476064 (19:07:56 GMT+0500 (Pakistan Standard Time))[debug] [W3C] Encountered internal error running command: TypeError: Cannot…
0
votes
0 answers
Unable to automate OTP login using appium java (Android App)
I am calling OTP from API and sending respective values to respective fields.
1: Values are correct (4 digit value)
2: Data type required for values is also correct (Its String).
Still app is displaying message that "Invalid value for OTP"
Tried to…
0
votes
1 answer
Cannot resolve symbol 'page'
I'm starting a new project with maven and Java and When I add:
public DesbloqueioSaldo(AppiumDriver driver){
PageFactory.initElements(new AppiumFieldDecorator(driver), page:this);
}
I receive this message:
Not a…

Thiago Andrade
- 51
- 5
0
votes
1 answer
how to detect flutter red screen in appium?
so, I am using appium inspector to write a script for mobile testing for a school project.
my problem is that I don't know how to detect this red screen resulted for flutter app.
this image is just example for what I mean :
so I want to write in my…

abdo Salm
- 1,678
- 4
- 12
- 22
0
votes
1 answer
I can not run this mobile automation script and it give me this error
CODE:
package assessmentForSale;
import io.appium.java_client.android.AndroidDriver;
import org.openqa.selenium.remote.DesiredCapabilities;
import java.net.URL;
public class Calculator {
public static AndroidDriver driver;
public static…
0
votes
0 answers
Unable to switch to WEBVIEW in Appium v2 Beta in Android - Error: 'unable to connect to renderer'
Unable to switch to web view context in Appium v2.0.0-beta.46 and v2.0.0-beta.47
Same code working fine in Appium v1.22.3
Error:
Got response with status 500: {"value":{"error":"disconnected","message":"disconnected: unable to connect to renderer\n…

Karthik
- 113
- 2
- 15
0
votes
1 answer
Multiple waiting approaches in #Appium
What is the best possible Explicit Wait implementation in Appium?
There are 3 possibilities I am aware of:
Use wait FluentWait provided by Selenium
Use WebDriverWait from Selenium-Support which internally extends FluentWait only
Use Appium's native…
0
votes
0 answers
Flutter mobile app, clicking an existing and valid physical back button is not working, even though the Cucumber step succeeds
I am using JDK 1.8_202, appium 2.0.0-beta.46, node v18.12.0
There is a programmer developed back button (<--) whose className as "android.widget.Button" whose className as "android.widget.Button", but when I try to verify it using search option, I…

PraNuta
- 629
- 3
- 12
- 33
0
votes
0 answers
How can I call desired capabilities for every test?
I'm new to appium and I have created set of test cases and for every test case I use @BeforeTest and add my desired capabilities
is there a way I can just call them instead of writing them for every test?
I tried to add desired capabilities into a…

Aya Ahmad
- 1
- 1
0
votes
0 answers
Appium java client 8.2.0 missing WindowsElement what to use?
I am newbie in windows application automation, I dont see WindowsElement in java client 8.2.0.
Any work around, I see Windowselement in java client 7.6.0
Br

Maria
- 11
- 4
0
votes
0 answers
Appium - TestNG - sequence of tests causing issues with parallel tests
I'm having issues with my appium testing framework running in parallel
I’m using appium java-client 7.6.0, testnt 7.6.1, Appium v1.22.3 with 1 ios simulator & 1 android emulator with 2 appium servers running separately for both devices.
this is how…

Abdu
- 1
0
votes
0 answers
AppiumFieldDecorator vs AppiumElementLocatorFactory
PageFactory.initElements used to initialize the element, present in a page, but what is the difference between below two statements:
PageFactory.initElements(new AppiumFieldDecorator(appiumDriver), this);
PageFactory.initElements(new…

DeepakVerma
- 179
- 1
- 3
- 14
0
votes
0 answers
Appium -> getting error while implementing WebDriverListener
Environment Details
Appium: 1.22.3
java-client : 8.2.0
Android: Real Device
Application Type: Native App
To capture web driver events, I am using WebDriverListener, and works perfectly when an element initialized using WebElement webelement =…

DeepakVerma
- 179
- 1
- 3
- 14
0
votes
1 answer
Android Unable to identify elements in Appium inspector instead of one element whole panel type of area is selecting
Android Inspector:
Unable to identify elements in Appium inspector instead of one element whole panel type of area is selecting when I click on the menu I want to select an element from that menu which comes from left to right.
Please help me so…

Gerry
- 11
- 1
0
votes
0 answers
org.openqa.selenium.InvalidSelectorException: Unsupported CSS selector error when using @AndroidFindBy(uiAutomator =
I am trying to automate a scenario in an android application using appium, java. I need to scroll down to an element on the screen to enter a text value. I'm initializing the elements using page factory as shown below.
@AndroidFindBy(uiAutomator =…

u_u-de
- 103
- 9