SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Nov 2009
    Posts
    53
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to handle windows Authentication popup

    Hi All,

    Is there anyway to handle windows authentication popup?

    IDE is unable to record those steps and even user id and password parameters are not getting appended to URL.

    I have created AutoIT executable file to handle this popup. Manually, this script is working file but it is not working through below code.

    Runtime.getRuntime().exec("C:\\FirmActivity\\LOBLo gin.exe");

    Any help will be anticipated.


    Regards
    Deepak

  2. #2
    Member
    Join Date
    Nov 2011
    Posts
    30
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to handle windows Authentication popup

    As an alternative, you can run a job to invoke the AutoIT script which will run in background before you start running your scripts. This should close the popup.

    Thanks,

  3. #3
    Member
    Join Date
    Aug 2006
    Posts
    344
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to handle windows Authentication popup

    If you call AutoIt from code in test, you need to set focus to the dialog window before you perform the authentication automation steps, otherwise, AutoIt won't find it.

    So your AutoIt code should have WinActivate against title of the authentication popup then continue with the code to type in authentication, etc.

    If you test across different browsers, you may need to account for different window titles for that popup as well as different GUI IDs for the text fields and OK buttons in the popup. Easier when only working for one browser.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:10 PM.

Copyright BetaSoft Inc.