Forum Discussion

jaimgunathilake_1's avatar
13 years ago

object spy does not work, but work after test run

hi,



I automated my eclipse based application using test complete. i do following scenarios.



1. double click on desktop icon

2. open my eclipse based application first window

3. click on test complete spy tool

4. point to a button



here object spy tool can't grab this button alias/name mapping. but if do like this



1. run my test using test complete

2. stop the test run

3. pick the spy tool and point to the button



now i could see the name mapping for the button. the button use extended search feature. Please let me know why should only grab this object instance after i run the test case.

1 Reply

  • I think this may be because some actions performed during the test makes the button to modify its state, and as the button was mapped using this state it cannot be found right after application start. Remember the button properties by which it is mapped (with their values) after test run and then look at these properties for the button at Object Browser right after application start.