Forum Discussion

lucieneven's avatar
lucieneven
Contributor
14 years ago

auto-wait timeout of playback in TestExecute

Hello,



This is a generic question about TestExecute. Wanted to know whether we can configure the TestExecute to control the Auto-wait timeout of Playback like what we configured in TestComplete.



As can be seen from 2011-12-12 10-32-44 AM.png, we noticed that in some case Object Not Found was because the elements haven't been loaded yet. In TestComplete, we can go to Project properties and configure the Auto-wait timeout in PlayBack pane, as 2011-12-12 10-39-09 AM.png.



May i ask how to configure the TestExecute? Or what we did in TestComplete for auto-wait timeout of Playback will saved in the project properties and work the same when playback in the TestExecute?



Please confirm with us on this point,



Thank you so much!



Lucien
  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    The Auto-Wait timeout you set is stored in the project.  What you defined in TestComplete is carried over in the execution in TestExecute.



    Probably a better way, though, of getting around the object not found errors, especially since they may vary in times from one point to another, is to make liberal use of methods like WaitAliasChild or WaitVCLObject and so on.