Forum Discussion

DonN's avatar
DonN
Occasional Contributor
9 years ago

Can Test Execute login a Windows User?

When we reboot the machines come up with a logon screen. If we then run Test Execute with automation it all fails because the machine is not logged in. Is it possible for Test Complete to login a machine it's using? 

2 Replies

    • tristaanogre's avatar
      tristaanogre
      Esteemed Contributor

      NisHera's suggestion is a good one if the reboot is part of the automation test itself.  Definitely worth exploring.

       

      However, if you are rebooting the machines for a maintenance cycle and then kicking off the test after that, then this feature probably won't work for you.  As you noted, you cannot run automated tests on a logged off machine.  My best suggestion is that you incorporate into the restart cycle of your automation environment/machine an auto-logon so that, after the reboot, it automatically logs in as a specified user.  There are any number of ways this can be done.