Your user account permissions determine what TestLeft can and cannot do. Non-administrator accounts may have limited access to the file system and running applications.
When using TestLeft under a non-administrator account, keep in mind the following limitations:
-
A member of the Users group cannot work with processes created by other users.
-
If you run your tested applications from tests, TestLeft will launch them under the same user account under which it is running. The tested applications will have the same permissions the account has.
-
To test an application running under another user account, launch TestLeft as an Administrator and run the application under the needed account from your tests. To run an application under a user account, you can use the following method:
.NET:
Driver.Applications.RunAs()
Java:
driver.getApplications().runAs()
-
Limited user accounts may have no read or write permissions for some folders. For example, by default, the members of the Users group have no write permissions for the Program Files folder.
Your tests cannot access or change files and folders for which your account has no permissions.