Hello Mosab,
Thank you for choosing to evaluate WebUI Test Studio!
Here's what you can do to avoid this problem altogether:
Windows remembers what was last used for each machine you log on to in a Windows Vault area. When Windows finds a previous entry it tries to reuse that entry. It is meant as a time saver feature. Unfortunately it gets in the way of test automation.
By removing the entry in Windows Vault you won't get the dialog with "Switch User" - instead you'll be directly prompted to input user/password.
Here's how you do it in Windows 7:
- Open Control Panel -> User Accounts
- Click Manage your credentials (see attached screen shot)
- Locate the entry "tat20,local.tatweersoftware.com"
- Click Remove from vault (see attached screen shot).
The process is virtually identical for Vista and XP. They only slightly changed the look and feel of the UI.
Now you'll get the standard logon dialog asking for UserID and password which our logon dialog handler does handle properly.
I hope this helps, let me know!
Best wishes,
Stoich
the Telerik team