This is a migrated thread and some comments may be shown as answers.

Handling Login Dialog box appearing twice

0 Answers 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mahendra Kumar
Top achievements
Rank 1
Mahendra Kumar asked on 08 Sep 2010, 10:01 AM
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

 

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Mahendra Kumar
Top achievements
Rank 1
Share this question
or