TheRipley Posted February 3, 2012 Posted February 3, 2012 Has anyone been successful with AuotIt in recognizing the Windows Security window? I'm trying to automate the testing of a web page being availabe but the script can't get past the Windows Security window. Here's what I have:$oIE = _IECreate(http://mywebsite.com)WinWaitActive("Windows Security")ControlSend("Windows Security", "", "Edit1", "username")ControlSend("Windows Security", "", "Edit1", "{TAB}")ControlSend("Windows Security", "", "Edit2","password")ControlSend("Windows Security", "", "Edit2","{TAB}")ControlSend("Windows Security", "", "DirectUIHWND1","{TAB}")ControlSend("Windows Security", "", "Button2","{TAB}")Any help would be appreciated.
Mikeman27294 Posted February 3, 2012 Posted February 3, 2012 (edited) Sorry, discussion of security bypass is not allowed on these forums. Please read the forum rules.http://www.autoitscript.com/forum/forum-2/announcement-13-forum-rules/ Edited February 3, 2012 by Mikeman27294
Moderators Melba23 Posted February 3, 2012 Moderators Posted February 3, 2012 TheRipley,For what I would have thought were pretty obvious reasons I very much hope the answer is a resounding "No!". If the Windows Security dialogs can be automated then they are not a great deal of use, are they? The whole idea is to prevent automation of such things.M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
AchyuthB Posted February 17, 2012 Posted February 17, 2012 (edited) Hi,The following code worked for me.<snip>Thank youAchyuth B Edited February 17, 2012 by Melba23 Code removed
Moderators Melba23 Posted February 17, 2012 Moderators Posted February 17, 2012 AchyuthB, As I told you in your other thread, we do not permit discussion of login methods here. I thought I had locked this last time - but better late than never. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Recommended Posts