Forum Discussion

daniel_dewinter's avatar
daniel_dewinter
Contributor
10 years ago

aqEnvironment RebootandContinue is not Rebooting

Hello,

 

I've a problem running the RebootAndContinue method, when the j-script is stored on a network drive.

 

When I run the same script from a project that's stored on the hard drive, windows is rebooting without a problem. In this case a key is added to the registry:

C:\PROGRA~2\SMARTB~1\TESTCO~1\Bin\TESTCO~1.EXE C:\Users\Admin\DOCUME~1\TESTCO~1\TESTKA~1\TESTKA~1.PJS /autostart

 

When I run the same script from a project that is stored on our NAS, the script seems to get executed, but the OS is not being rebooted.See attached video

- No key has been added to the registry.

- In the Project log, there's no error logged (see pic)

 

In this article it's stated that the RebootAndContinue method can not be used for Network Suite, but this is not the case here; I try to reboot my host, using a script stored on a network drive.

 

It probably has something to do with the NAS not having enough rights...But I do not fully understand it.

 

I hope somebody can help me with this.

 

Regards,

Daniel

 

 

 

 

 

2 Replies

  • Remember that you need to run TestComplete as Administrator for the RebootAndContinue to work properly.

     

    You should also try a version later than TestComplete 9.