This is a migrated thread and some comments may be shown as answers.
Login Dialog
16 Answers 143 Views
This is a migrated thread and some comments may be shown as answers.
mosab
Top achievements
Rank 1
mosab asked on 27 Jan 2011, 06:33 AM
Hello ,

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.

Thanks you.

16 Answers, 1 is accepted

Sort by
0
Accepted
Stoich
Telerik team
answered on 27 Jan 2011, 09:54 PM
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:
  1. Open Control Panel -> User Accounts
  2. Click Manage your credentials (see attached screen shot)
  3. Locate the entry "tat20,local.tatweersoftware.com"
  4. 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
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
mosab
Top achievements
Rank 1
answered on 30 Jan 2011, 06:30 AM
Thank you very much for your help .
0
Stoich
Telerik team
answered on 31 Jan 2011, 10:50 AM
Hi Mosab,
    Please don't hesitate to contact us again if you need any further assistance!

Kind regards,
Stoich
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
Oliver
Top achievements
Rank 1
answered on 06 Oct 2011, 10:55 PM
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?
0
Cody
Telerik team
answered on 06 Oct 2011, 10:58 PM
Hi Oliver,

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
0
Mandar
Top achievements
Rank 1
answered on 11 Oct 2011, 10:01 AM
How to do it for windows Xp.
My machine is on company domain.The recording is getting freezed when windows logon dialog box appears....
0
Mandar
Top achievements
Rank 1
answered on 12 Oct 2011, 09:08 AM
Any replies???? Urgent help needed on above issue.
0
Stoich
Telerik team
answered on 12 Oct 2011, 10:21 AM
Hello Mandar,
     this is actually a bit harder to find on Windows XP. Check out this video:
http://screencast.com/t/mBZ6DXoy

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
0
Mandar
Top achievements
Rank 1
answered on 12 Oct 2011, 01:02 PM
Hello Stoich,

Thank you so much for your reply.

However, I found my probelm is weired than I have posted above.

Actually, when I start recording the test, I click on one link which pops up the windows authentication box and after that recorder get's freezed.

It doesen't allow me to even click on the windows authentication pop up. Then I need to end the task. So I am not able to record further.

Can you tell me, why it happens? Why recorder get's freezed /locked when it enounters windows authentication pop up?

Same recording steps works on other machine having  Win 7 + IE8

I am facing this issue on Win XP + IE8

Awaiting your reply.
Regards,
Mandar Dhongade.
0
Stoich
Telerik team
answered on 12 Oct 2011, 03:50 PM
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
0
Walter
Top achievements
Rank 1
answered on 29 Feb 2012, 05:12 PM
Hello,

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...

Thank you,
Walter
0
Cody
Telerik team
answered on 29 Feb 2012, 06:13 PM
Hi Walter,

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.

Kind regards,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Sudhee
Top achievements
Rank 1
answered on 21 Sep 2015, 11:31 PM

Hi Cody, 

I am facing same issue with a SharePoint application. Since your last reply is dated 2yrs back, I wanted to check if there any other possible solution available.

 

Thanks

S

 

0
Ivaylo
Telerik team
answered on 25 Sep 2015, 04:48 AM
Hello Sudhee,

Unfortunately the same solution applies.

Thank you for your understanding.

Regards,
Ivaylo
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Sudhee
Top achievements
Rank 1
answered on 30 Sep 2015, 05:48 PM
Thanks Ivaylo. I found a workaround. :)
0
Ivaylo
Telerik team
answered on 02 Oct 2015, 10:49 AM
Hello Sudhee,

Glad to hear this!

Closing this case.

Regards,
Ivaylo
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Asked by
mosab
Top achievements
Rank 1
Answers by
Stoich
Telerik team
mosab
Top achievements
Rank 1
Oliver
Top achievements
Rank 1
Cody
Telerik team
Mandar
Top achievements
Rank 1
Walter
Top achievements
Rank 1
Sudhee
Top achievements
Rank 1
Ivaylo
Telerik team
Share this question
or