Forum Discussion

Jyoungfl's avatar
Jyoungfl
Occasional Contributor
15 years ago

Test Execute fails to find objects that appear to Test Complete

I have a project that configure our application to a known state of configuration.  This was recorded using Test Complete.  Test complete plays this back fine, but if I run this with Test Execute it fails to find a button half way in.  This stops in the same place each time.  If I load Test Complete on this machine the play back is ok.  Only Test Execute fails to find the button.  The AUT is written in C if that helps.



The menu item 'Configuration|Xcelera|Xcelera Integration' was clicked.

 12/22/2009 12:15:22 PM

 Normal

     Event

 [Empty] [Memo] [Table]

 Cannot obtain the window with the window class 'Button', window caption 'Install Xcelera Integration' and index 3.

 12/22/2009 12:15:32 PM

 Normal

     Error

 [Empty] [Memo] [Table]

 The object does not exist.



this object is present and I can verify it with Test complete, but Test Execute says its not present.



Ideas?

 

1 Reply

  • Hi Jason,



    Are you sure that the target button's index is correct? Try omitting the index.

    Also, I recommend using the WaitWindow method to obtain the target button.