Forum Discussion

qmanuel's avatar
qmanuel
New Contributor
6 years ago
Solved

TestExecute, running without being logged in

I'm aware of this page. https://support.smartbear.com/testcomplete/docs/testing-with/running/on-locked-computers.html However, as a part of a team discussion, I'd like to seek confirmation about w...
  • AlexKaras's avatar
    6 years ago

    Hi,

     

    > whether it is possible to run TestExecute with a scheduled task without the computer being logged in at all.

    Yes, TestExecute (and TestComplete) can be started by the scheduled task and perform actions that do not require UI interactions. For example: access to file shares, sending/receiving http requests, working with COM objects, etc.

    Interaction with UI is not possible for this scenario. The reason is not in TestExecute/TestComplete, but in the fact that operating system does not provide user session with desktop to the tasks started unattended and thus GUI applications just has no place where display their user interface. And, subsequently, TestExecute/TestComplete cannot access user interface that does not exist.