Selenium Python test batch file does not run in Task Scheduler, browser does not open. Batch file does run ok without task scheduler Selenium Python test batch file does not run in Task Scheduler, browser does not open. Batch file does run ok without task scheduler selenium selenium

Selenium Python test batch file does not run in Task Scheduler, browser does not open. Batch file does run ok without task scheduler


I have got it to run now. In Task Scheduler to run the task as not hidden the setting radio button "Run only when user is logged on" should be checked.

The browser then open for the Selenium test when the batch file runs.

Many users have faced this issue: I found the solution from here:http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/why-is-a-windows-7-scheduled-task-running-hidden/d5196c53-5ebd-40a9-8180-d97bde69d060?auth=1