Closed renas closed 9 years ago
From renasr...@gmail.com on February 23, 2015 16:29:00
Thanks for reporting this.
Status: Accepted
Owner: renasr...@gmail.com
From renasr...@gmail.com on May 26, 2015 18:39:58
This has been fixed in Robotium 5.4.1.
Status: Verified
From dmitry.t...@gmail.com on February 20, 2015 03:36:50
What steps will reproduce the problem? html:
java: ArrayList 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: http://code.google.com/p/robotium/issues/detail?id=661