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

+1 vote
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
• 130 points
161 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

0 votes
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
254 views
0 votes
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,870 points
185 views
0 votes
0 answers

Not able to execute unittests from pytest terminal

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

Mar 12, 2020 in Software Testing by Karthik
• 120 points
495 views
0 votes
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,010 points
158 views
0 votes
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,870 points
139 views
+1 vote
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
1,799 views
0 votes
0 answers

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

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

Jun 20, 2020 in Software Testing by Kumar
• 120 points
263 views