Login Dialog

17 posts, 1 answers
  1. mosab
    mosab avatar
    4 posts
    Member since:
    Jan 2011

    Posted 27 Jan 2011 Link to this post

    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.
  2. Answer
    Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 27 Jan 2011 Link to this post

    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
  3. mosab
    mosab avatar
    4 posts
    Member since:
    Jan 2011

    Posted 30 Jan 2011 Link to this post

    Thank you very much for your help .
  4. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 31 Jan 2011 Link to this post

    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
  5. Oliver
    Oliver avatar
    1 posts
    Member since:
    Oct 2011

    Posted 06 Oct 2011 Link to this post

    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?
  6. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 06 Oct 2011 Link to this post

    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
  7. Mandar
    Mandar avatar
    3 posts
    Member since:
    Oct 2011

    Posted 11 Oct 2011 Link to this post

    How to do it for windows Xp.
    My machine is on company domain.The recording is getting freezed when windows logon dialog box appears....
  8. Mandar
    Mandar avatar
    3 posts
    Member since:
    Oct 2011

    Posted 12 Oct 2011 Link to this post

    Any replies???? Urgent help needed on above issue.
  9. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 12 Oct 2011 Link to this post

    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
  10. Mandar
    Mandar avatar
    3 posts
    Member since:
    Oct 2011

    Posted 12 Oct 2011 Link to this post

    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.
  11. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 12 Oct 2011 Link to this post

    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
  12. Walter
    Walter avatar
    8 posts
    Member since:
    Jun 2008

    Posted 29 Feb 2012 Link to this post

    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
  13. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 29 Feb 2012 Link to this post

    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
  14. Sudhee
    Sudhee avatar
    3 posts
    Member since:
    Jun 2015

    Posted 21 Sep 2015 Link to this post

    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

     

  15. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 24 Sep 2015 Link to this post

    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
     
  16. Sudhee
    Sudhee avatar
    3 posts
    Member since:
    Jun 2015

    Posted 30 Sep 2015 in reply to Ivaylo Link to this post

    Thanks Ivaylo. I found a workaround. :)
  17. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 02 Oct 2015 Link to this post

    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
     
Back to Top