Forum Discussion

tiwari_bipin's avatar
11 years ago

Need to set time on Terminal server

Hi, 



Some of my tests are utilizing the systems time.

I need to set the time (using TestComplete) on terminal server session, without affecting the system time of others user sessions.

Any help will be appreciated.



Thanks

Bipin

2 Replies

  • You can reference how to leverage WMI to set the time as outlined in the Set system time support article. With that said, keep in mind that if the remote server is joined to a domain with a valid time server, then the time will get reset when the domain syncs the time.

  • Hi Bipin,


     


    TestComplete doesn't have a built-in functionality for this. However, if you find a way to implement it via the VBScript or JScript methods, you can always call them in TestComplete.