Forum Discussion

kylegogtp's avatar
kylegogtp
Contributor
12 days ago

TestExecute logs out before tests run

Running our tests on Azure Pipelines using VMs that we disconnect from for the tests to run at night.

Sometimes when tests run at night they cannot because TE needs to get logged back in. Is there a way to make sure it stays logged in or to have the pipeline sign in? I'm guessing this is just a standard login time out but this affects our nightly runs when it does time out.

When they run and it logs out it just has this login page open when we check them.

 

2 Replies

  • MW_Didata's avatar
    MW_Didata
    Super Contributor

    Not sure if this will work for VMs but I had an issue where every month I would need to re-login so my tests that night did not run.

    Smartbear support give me a fix that I'll share with you:


    Go to the Smartbear license page,
    In the Top-right of the page click your logged in user (the user that runs the tests) and click settings.
    Now there should be a screen showing the acceskey:


    Copy that key.

    then on the shortcut that starts TC or TE in the target field append this to the end:

    /AccessKey:{Your copied accesKey}

     If you then start the application this acceskey is also copied to a smartbear.auth file
    I forget where this file is located.


    This fixed the issue for me and now i no longer need to login every month