Login Dialog

mosab

I'm new to testing and obviously the WebUI Test Studio QA and I have some issue with the windows security dialog which looks like the one in the attached image . The regular login dialog handler does not work correctly since it fills the login information in the wrong place and does not fill it in the "use another account" fields. So is there is away to work around this issue.

Stoich

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.

Oliver

I have had this same issue, and have removed the user from the vault - so that is better. However, I am still having issues with the dialog handler. It does not seem to want to enter the credentials. It seems to try, and click the OK button, but in fact nothing was entered in the fields. Are there any other tips on handling these in Windows 7 using IE9?

Cody

I am sorry you are running into this problem. Can you send us a video demonstrating the problem? Jing is a good and free screen recorder.

Best wishes,
Cody
the Telerik team

Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items

Stoich

You don't actually see any accounts in the list form my video because that particular machine didn't have any "Network credentials" stored. When you open the same list on your machine you should be able to see all the stored credentials and removed them as required.

All the best,
Stoich
the Telerik team

Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items

Stoich

Hello Mandar,@after that recorder get's freezed - would you please elaborate on this. Does the Internet Explorer simply stop responding? What's supposed to happen is that when you handle the dialog a "Handle Dialog" step should appear in the test. However, you will not be able to highlight and record Verifications against a Dialog in the same way as you would against a regular HMTL/Silverlight page.

The best thing here would be for you to record a Jing video demonstrating exactly how the recorder "freezes".

Kind regards,
Stoich
the Telerik team

Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items

Walter

Within our Silverlight application i can call a windows authentication dialog.
The application runs in a sharepoint enivronment.
So the login is actually the sharepoint feature "login as a different user" that we reuse to change the user credentials for this silverlight application.

If we run the application wihtout test studio we get the dialog handler snap1

If we run the applicaction within test studio, we get the snap2 which does not work to be recorded.
Can you please give us any advice?

PS:I removed the users from the vault.
PS: I can not provide a Jing video, it does not work in my environment...

Cody

The Credential Manager is the only suggestion we can offer (which apparently you already tried). This dialog is a native Windows dialog. Test Studio has no control over when/how it is displayed. Windows has total control here.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.