You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
html:
<html>
<body>
<div>1</div>
<div>2</div>
</body>
</html>
java:
ArrayList<WebElement> webElements = soloAddon.getWebElements( By.xpath( "//div"
) );
System.out.println( "webElements count=" + webElements.size() );
What is the expected output? What do you see instead?
Expected:
webElements count=2
Actual:
webElements count=1
What version of the product are you using? On what operating system?
Robotium Solo 5.3.1
Android 4.4 Kit Kat
Actually bug was found in RobotiumWeb.js in javascript function xpath. In while
cycle when you iterate to next element you use wrong variable name "result".
You should use variable "elements" to call iterateNext().
Original issue reported on code.google.com by dmitry.t...@gmail.com on 20 Feb 2015 at 11:36
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
dmitry.t...@gmail.com
on 20 Feb 2015 at 11:36The text was updated successfully, but these errors were encountered: