dmitri_1
12 years agoOccasional Contributor
Trouble With Certain Screen Objects
Hi,
I have started using testComplete recently, and it does look like very powerful software but I am having some annoyances, and it would be good if I can find a proper way of doing things.
In my java application there are 'tabs' to access different functions (like calendar, reports, help tab, admin tab, etc).
When using object spy you cannot select these tabs as separate objects, you can only select the window that surrounds them and then click on an x/y coordinate.
Each time the application quits/starts it remembers the last tab you were on. So if I make a recording of a test and start on tab 1, then switch to tab 2 and quit. The next time the test runs it fails. This is seems to be because you are on a different tab and you have a different mainTabPane selected and thus it fails to click on a specified tab (unless you first switch to the tab that you were originally on when you recorded your click).
If someone has run into similar issues or can shed some light into how I can switch 'tabs' easily from any tab to any tab, that would be really helpful. I have attached image (it's not visible but I have the target point on the 'Admin' tab).
I have started using testComplete recently, and it does look like very powerful software but I am having some annoyances, and it would be good if I can find a proper way of doing things.
In my java application there are 'tabs' to access different functions (like calendar, reports, help tab, admin tab, etc).
When using object spy you cannot select these tabs as separate objects, you can only select the window that surrounds them and then click on an x/y coordinate.
Each time the application quits/starts it remembers the last tab you were on. So if I make a recording of a test and start on tab 1, then switch to tab 2 and quit. The next time the test runs it fails. This is seems to be because you are on a different tab and you have a different mainTabPane selected and thus it fails to click on a specified tab (unless you first switch to the tab that you were originally on when you recorded your click).
If someone has run into similar issues or can shed some light into how I can switch 'tabs' easily from any tab to any tab, that would be really helpful. I have attached image (it's not visible but I have the target point on the 'Admin' tab).