Forum Discussion

anitha123's avatar
anitha123
Contributor
13 years ago

Default Auto Wait time out can be set max to 1000000ms

Hi,             





        II am automating the printer application, Where i need to delay for more than 10,00,000 ms. Testcomplete Autowait time out can be se to maximum of 10,00,00. Please let me know how i can delay for more than 10,00,00 ms.

















Thanks and regards,

Anitha

1 Reply

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    build your own while loop or for loop to wait a certain amount of time.  1,000,000 milliseconds is 16 minutes (1 thousand seconds).  So, if you want to go for 30 minutes, you can do the following.





    var LoopCount = 0

    while (!Object.Exists) and (LoopCount < 30) do

    {

        Delay(60000);

        LoopCount++;

    }