I have a task scheduler job that fires Selenium unit testing server and runs some tests. It takes some resources because it opens a lots of websites. Moreover the Selenium with Firefox Driver has a problem with properly testing websites when i use the option to run the task without the user being logged in. The purpose of the other user in Windows 7 is to handle the Selenium process and unit testing and at the end i can kill all processes of the unit testing. It's necessary because Selenium has problem with closing tasks properly (like Firefox, Flash etc.).
And i can not do it on my user account because i cant recognize what processes are mine (like my Firefox i have open now) and what are the one opened by Selenium. Moreover i don't want Firefox windows flashing me while i work on this user account.
So i created another user account on Windows 7 to handle the Selenium unit testing. It's ok, but i can not use the option "run it even if he is not logged in" because than Selenium unit testing does not work properly. So i need that the another user will be logged in and selenium task will be executed on this logged in account.
I have found that i can set one of accounts on Windows 7 to be the default login account. So now when i open Windows 7 i log in into my account properly without being required to pass the password.
But if i want Selenium unit testing to work i need to switch to the another account to log it in and than come back to mine.
I would like to automate the process by configuring the system to log in to the another user on its own without requiring me to do so.
How to acomplish this?