Forum Discussion

JeffHoule's avatar
JeffHoule
Occasional Visitor
10 years ago

How do you do a coldboot with testcomplete

i'm trying to do performance test with testcomplete (perhaps not the best idea since it's consuming ressources i'm testing). I must find a way to stop the machine, wait for 5 seconds then restart the machine. This is what is call a coldboot test. i can do this with c# coding and magic packet with and an external application, but is there a way to do it with test complete. There seems to be many function to reboot, mais no function to start once shutdown.

 

Thanks for your help.

    • Ravik's avatar
      Ravik
      Super Contributor

      Wow, That's wonderful,but it is not able to login into computer (after restart I need to press - Ctrl+Alt + Del, then enter credential). this operation is not doing below statement -

       

      aqEnvironment.RebootAndContinue("Unit2.t1", "myPassword", "MyUserId", "MyDonain")

       

       

       

      • joseph_michaud's avatar
        joseph_michaud
        Moderator

        I assume you've met the requirements outlined in the article, yes?

         

        Unless someone else out in Forum land has some good ideas, open up a support case and we can continue the investigation.

  • Ravik's avatar
    Ravik
    Super Contributor

    Hi,

     

    I think you may use - Sys.Restart

     

    in TestComplete for restart machine.