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 in Software Testing by anonymous
• 130 points
71 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 by Kim

Related Questions In Software Testing

0 votes
2 answers
0 votes
0 answers
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 in Software Testing by Sri
• 2,970 points
71 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,072 views
0 votes
0 answers
0 votes
2 answers

What are the different software testing types?

we have 2 types of testing . Functional ...READ MORE

answered Sep 1 in Software Testing by Sri
• 2,970 points
163 views
0 votes
3 answers

What is Functional Testing in Software Testing?

Hello, I hope this info is useful to ...READ MORE

answered Aug 20 in Software Testing by anonymous
• 200 points

edited Aug 20 by Gitika 160 views