Skip to main content

All Questions

0 votes
0 answers
41 views

Declaring a page object in the test class is throwing below error - Appium

I am getting an error when declaring a page object in the test class, as shown in the code below. When I declare the page object in the test method, it works perfectly, which I think is not right. ...
oneirion's user avatar
2 votes
1 answer
129 views

How can I automate mobile web browser interaction on a real Android device?

I'm trying to automate some routine administrative tasks on my Archer AX55 WiFi router by means of Selenium WebDriver, which simulates user interaction through the router's web-interface (...
escudero380's user avatar
0 votes
0 answers
31 views

Unable to Scroll Properly Using Selenium Script in the mobile device - Appium

I am using the script: Dimension ScreenSize = driver.manage().window().getSize(); // System.out.println(ScreenSize); // Current device size (720, 1465) // //Finding Starting point/mid of the screen ...
Monkey's user avatar
  • 1
0 votes
1 answer
1k views

Appium Java: How do I use the TouchAction class or something equivalent with AndroidDriver?

I am using Appium Java client 8.5.1 and selenium version 4.10.0. I am trying to automate having the user touch a point on the screen (specified by me). I tried using this line: WebDriver theDriver = ...
Rikudou's user avatar
  • 189
0 votes
1 answer
402 views

@AndroidFindBy not working when i used appiumDriver

I want to use AndroidAndroidFindBy and iOSXCUITAndroidFindBy, but not working. error code: org.openqa.selenium.InvalidSelectorException: Unsupported CSS selector '*[name='introStartButton']'. Reason:...
Left Handed's user avatar
0 votes
1 answer
1k views

Make Appium reset driver and app after every test

Hi I'm using your project https://github.com/rajatt95/MasterAppiumFramework_BDD for testing but I want to modify it so it resets the app and driver after every test instead of every class. How can I ...
Roberto Teresa's user avatar
0 votes
2 answers
717 views

org.openqa.selenium.InvalidSelectorException: Unsupported CSS selector '*[name='userName']'. Reason: 'Error: 'name' is not a valid attribute

i am trying to click an element but its throwing InvalidSelectorException. These are my dependencies: <dependencies> <dependency> <groupId>org.seleniumhq....
Aroon's user avatar
  • 1
1 vote
2 answers
3k views

Java Appium Android click not working on a specific element while working everywhere else

I've run into an issue with our current mobile project where our click wont interact with a save button on our device page. This is currently the only scenario we have run into this with so far. I've ...
K White's user avatar
  • 37
0 votes
1 answer
467 views

Its taking too much time to enter value in field using sendkeys() in Appium (Android)

I am trying to enter value in an input field and it's taking 3-4 minutes in entering the value using sendKeys. I've already tried using / removing raw, implicit and explicit waits for element. I've ...
faiza's user avatar
  • 1
1 vote
1 answer
798 views

How to wait until page has finished loading

I am automating the android mobile application with Selenium using explicit wait with expected conditions to click buttons. There is a loading overlay that is displayed after form submission. The ...
babaschild's user avatar
0 votes
1 answer
315 views

How to verify icon's presence in statusBar of Android with Selenium?

I need to write code (Java, Selenium) that verifies icon's presence in Android status bar. For instance, after enabling airplane mode, a plane icon appears. But I can't figure out how to do this, what ...
Maxim Simonov's user avatar
0 votes
3 answers
647 views

Unable to identify Button in hybrid page in android app appium

I have tried to identify 'Send' button but Appium doesn't shown source of that page. This page is a webpage in hybrid android app. Is there any way to get source of this button and verify/inspect it? ...
Peter's user avatar
  • 859
4 votes
3 answers
2k views

Using selenium from within my app without any external server

From within my app I want to hit a website and than perform user action. Currently am using webview but I think webdriver will be easy to use and correct approach. Current code: WebView browser = (...
user93796's user avatar
  • 18.4k
1 vote
2 answers
3k views

How to find an element by mobile xpath with Appium matching @text attribute with a regular expression (regex)?

I'm automating Android apps using Selenium-Appium (Java) and I got some difficult to address the following need: I have an element that doesn't have any of ID or ACCESSIBILITY ID configured. But I've ...
Carlos Diego Quirino Lima's user avatar

15 30 50 per page
1
2 3 4 5
24