Forum Discussion
OK.
So if it's finding duplicates, have you looked at the object model for the application in the object browser? I'm not sure how FindAllChildren can be returning duplicates if you are using VisibleOnScreen (True) as a search value.
Are the duplicates present in the object browser?
Or it could just be the page. I've had a webpage in the past where Chrome was showing duplicates in the Object Model, but IE didn't.
Hard to say without actually seeing the webpage you're looking at ...
Hi Colin,
Thanks for the repley. I divide the total number by two which return by object counter.
Ex; if a page contain object count as one, then function return as two, then I divide that value by two to get correct.
------------
Thanks
Dev
- Colin_McCrae9 years agoCommunity Hero
That still doesn't make sense? Why is it finding double the number you think it should?
Have you checked in the Object Browser in the TestComplete IDE to see what it reports?
Maybe the devs are doubling them up/overlaying them or something? So maybe there are two of each? I don't know as I can't see the site.
But I'd want to know why I was getting two of each. I wouldn't just accept that I have to divide by two and use that as my answer ....
Related Content
Recent Discussions
- 9 hours agoashly