pvandervelde / Sherlock

Sherlock provides a means to schedule and automatically execute tests in an controlled virtual machine environment.
http://pvandervelde.github.io/Sherlock
Apache License 2.0
2 stars 0 forks source link

Allow test steps to be executed under different user accounts #6

Open pvandervelde opened 11 years ago

pvandervelde commented 11 years ago

Some test steps should be executed as an administrator (e.g. MSI installs) while others should be executed as a normal (least access user). For this it would be good if each test step could be executed under a given user account.

pvandervelde commented 10 years ago

We could predefine a set of users, e.g. administrator, interactive administrator, user, interactive user etc. Then in the test configuration file the user could define which account they would want to use for a given test step.

When setting up the machine the different accounts will have to be linked to a given actual user account.

Note: we don't want to store passwords in the database or anything so each machine will have to spawn enough applications in order to be able to run under each different account.

Note: It is not possible to switch desktops normally so we won't be able to have multiple interactive users.