I am working on a web application automation, My application has a list item which is having 10 items under it. When i expand the list item for the second time It's showing count as 20 ( though it has 10 elements in UI). Same way if i open for the 3rd time it's showing as 30 and so on ......

I tried adding multiple combinations to identify the list item uniquily, But I could not get the actual issue.

Note ::: When I close the UI / Refresh the page I am getting proper count.

  • 1
    Question is not clear. Please elaborate more Commented Dec 20, 2016 at 13:40
  • Added few more details for better understanding
    Commented Jan 3, 2017 at 9:17

1 Answer 1


Not clear from your question, but it sounds like you don't track which objects you've already counted, so when the popup is reopened, you're counting the previously selected list elements for the second time.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.