Handling Login Dialog box appearing twice

1 posts, 0 answers
  1. Mahendra Kumar
    Mahendra Kumar avatar
    17 posts
    Member since:
    Feb 2010

    Posted 08 Sep 2010 Link to this post

    hi All,

    I am using WeAii 2.0 framework. I have a scenario where windows logon dialog box appears twice for authentication on accessing test website. First time dialog box is handled  but it reappears again and script fails to handle it again.
    Below is the lines of code included in script

    Manager.DialogMonitor.AddDialog(

    LogonDialog.CreateLogonDialog(ActiveBrowser, <USerNMame>, <passwod>, DialogButton.OK));

     

    Manager.DialogMonitor.Start();

     

    ActiveBrowser.NavigateTo(

    "URL");

    Any idea how to resolve this issue.
    Suggestion appreciated :)

    Thanks in advance 
    Regards,
    Mahendra

     

Back to Top