Forum Discussion

Oussama's avatar
Oussama
Occasional Contributor
7 years ago

scheduling test run after reboot server

Hello,

 

For scheduling my tests i follewed these steps :

http://support.smartbear.com/testcomplete/docs/testing-with/running/scheduling.html#_ga=2.238329221.42969323.1496389421-1944476233.1485441133

 It work correctly until the time of the server restart, I lose the connection with windows session and the user who is execution tests.

Could you help me to find solution ? I need to recover the active session after reboot.

I user remote Desktop connection / win 2008 server R2

Thank you.

 

Regards

 

3 Replies

  • NisHera's avatar
    NisHera
    Valued Contributor

    I think you are looking for this

    If not please explain your situation.

    • Oussama's avatar
      Oussama
      Occasional Contributor

      Thank you for the answer.

      But Tscon is used when the user is connected, and my problem when the server reboot i forgot the connection to the windows user: so i could not use tscon and control my tests.

      Here are the steps I have taken :

      1. I installed Jenkins with TestComplete in Remote desktop w2008 server
      2. I configured Jenkins slave (JNLP) with user X to run my tests  ==> OK
      3. I scheduled Jenkins to run my tests each 2h  ==> OK
      4. I use TSCON to lock session and running tests when sesssion of user X is locked ==> OK (tests are run correctly )
      5. Each midnight our servers reboot ==> I forgot connection to windows session with the user X so i could not run my tests

       (Info : i use mstsc to connect to the remote desktop every day to run my tests)

      Thank you for your helps.