Even after providing proper xpath for element on mobile applcation it is not able to click on the button

+2 votes
following is the errror i get " Error msg is: An element could not be located on the page using the given search parameters." and in serverlog i get something like "[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding '//android.widget.TextView[@text='Proceed']' using 'XPATH' with the contextId: '' multiple: false"
May 8, 2020 in Software Testing by anonymous
• 140 points
1,486 views

1 answer to this question.

0 votes

You could probably try using WebDriver driver; instead of AppiumDrivrer or AndroidDriver.

Also use RemoteWebDriver instead of AndroidDriver ie… new RemoteWebDriver(new URL(“url here”));

then use…

findElement(by.xpath(“xpath of element”);

Hope this helps!

answered May 8, 2020 by Kim

Related Questions In Software Testing

+1 vote
2 answers

Click Element, Button (any click keyword) is not working on IE, though same is working on Chrome, safari, edge

Have you tried capabilities for ignore zoom ...READ MORE

answered Jul 28, 2020 in Software Testing by Pavan Andi
1,148 views
+1 vote
1 answer

Data driven test through Ms Excel is not entering the values properly in to the app only 1 is entering

Hi, @Faha, Chromedriver version should be shown in ...READ MORE

answered Oct 28, 2020 in Software Testing by Gitika
• 65,850 points
1,934 views
+1 vote
0 answers

Not able to execute unittests from pytest terminal

Hi All, I was able to execute the ...READ MORE

Mar 13, 2020 in Software Testing by Karthik
• 130 points
1,284 views
+1 vote
2 answers

What is the best way to learn automation testing?

Step 1: learn any programming language like ...READ MORE

answered Sep 1, 2020 in Software Testing by Sri
• 3,190 points
1,036 views
+1 vote
1 answer

How to do stress testing in Apache flink? Kindly suggest the tool which is used to do stress testing.

Hey, @Savitha, Loadrunner from HP is the widely used ...READ MORE

answered Dec 9, 2020 in Software Testing by Gitika
• 65,850 points

edited Jun 23, 2023 by Khan Sarfaraz 1,530 views
+2 votes
1 answer

How to find Predicate String and IOS Class chain through Xpath in Appium IOS Platform. ?

https://github.com/facebookarchive/WebDriverAgent/wiki/Class-Chain- ...READ MORE

answered Dec 2, 2019 in Software Testing by anonymous
4,779 views
+1 vote
0 answers

Selenium Driver.Pageload() is not working in safari browser

Am trying to wait tll page loads ...READ MORE

Jun 21, 2020 in Software Testing by Kumar
• 130 points
1,014 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP