Forum Discussion

Bjorn_Kruuse-Me's avatar
Bjorn_Kruuse-Me
Occasional Contributor
9 years ago
Solved

Reboot remote computer while running distibuted test

Hi
I have a project where I control several remote computers in a distributed test.

One of the first steps is to install software, then reboot the computers.
After this I want to continue running functional tests on the software I have installed.

I have found the method
aqEnvironment.RebootAndContinue()
But this only continues the tests locally, and the Master does not see the computers anymore.

How can I restart the remote computers and then continue running tests with distributed testing?

Yours
Bjørn Kruuse-Meyer
  • Hi Bjørn,

     

    You need to investigate the Action after run option of your task. You can set it to Reboot computer – in this case, TestComplete will reboot the slave computer. Please read the Editing Task Properties ( http://smartbear.com/viewarticle/68430/ ) article for details.

     

    Is this that you were looking for?

2 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Bjørn,

     

    You need to investigate the Action after run option of your task. You can set it to Reboot computer – in this case, TestComplete will reboot the slave computer. Please read the Editing Task Properties ( http://smartbear.com/viewarticle/68430/ ) article for details.

     

    Is this that you were looking for?

    • Bjorn_Kruuse-Me's avatar
      Bjorn_Kruuse-Me
      Occasional Contributor

      Hi Tanya.

       

      Thanks for your answer.

       

      It was so simple that it did not occure to me to look there.

      I was looking into some scripting objects to do it.

       

      (Explains why I did not find anybody else looking for this when googeling:smileyvery-happy:)

       

      Regards

      Bjørn Kruuse-Meyer