Forum Discussion
OK, but it still clicks at different locations in the same window depending on which step it is. What accounts for the differences?
bistritapcv wrote:
OK, but it still clicks at different locations in the same window depending on which step it is. What accounts for the differences?
The object is being clicked and there is no guarantee of the coordinates. Description is reporting what happened. When you manually click a button, I'm sure you don't click it in exactly the same place every time and there's nothing wrong with that.
As tristaanogre have both said, you need to get away from the coordinates.
- bistritapcv5 years agoContributor
I understand that, but the button takes up only a small portion of the window. If the window goes from like (0,0) to (100,100) but the button may only be (30,30) - (50,50), so if you just have it click the window, it may miss the button.
- tristaanogre5 years agoEsteemed Contributor
Refer up thread... this is the danger that you run operating against an application that is being served up by Citrix. TestComplete has no visibility for the buttons, all it can do is work with co-ordinates, unless you want to use Text Recognition or OCR.
https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/ocr/index.html
Related Content
- 12 years agokirk_bottomley
Recent Discussions
- 2 days agoGane195