Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I have an list that consists of ten entries. on clicking a button ajax loads and the count of the element in the list increases to 20. I have to take the previous count(10) and compare with the count(20) after button click. But after button click. I'm unable to get the count of the same list. It throws exception as unable to find the element. But Manually I've succeeded in checking with firepath.

share|improve this question
    
Sounds like the DOM structure of the list might also have changed after the button click event so the original selector can't find it. Can you include the HTML of the list after the button click in the question? –  Francis Oct 23 '13 at 13:49
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.