Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 991 by [email protected]: xPath count is not working for
div/table/tr etc (non-form field)
http://code.google.com/p/robotframework/issues/detail?id=991
When I used following code in my robot selenum script:
${isRowPresent}= Call Selenium Api is_element_present
//div[@id='realrr']//tr[@role='row']
${count}= Get Matching Xpath Count
//div[@id='realrr']//tr[@role='row']
${xPathCount}= Call Selenium Api get_xpath_count
//div[@id='realrr']//tr[@role='row']
The first line got True value (means the element is present)
The next two line gives 0 (zero) value, I am expecting atleast 3.
The "Get Matching Xpath Count" and "Call Selenium Api get_xpath_count " is
working fine for form input field.