Search the Community
Showing results for tags 'auto login ie'.
-
Hello All, I am new to auto It and coding. Have only tried few automated logging for different websites. The login pages of the websites which I have worked on were having form name with input type as text and it seems straight forward to automate their login using "_IEFormElementSetValue". I have got a url, it does not have any form in the source page. On further analyzing I found that It does call some login page separately as below. function showLogin(arg) { Global.pollingDialogDoc = null; var fresh = jQuery.isValidString(arg) && "fresh" == arg ? !0 : !1, appFrame = $("#appFrame"); if ($("#modalFrame").show(), $("iframe").hide(), fresh || !appFrame.attr('src').match("html/login.html")) appFrame.attr('src', baseURL + 'html/login.html'), appFrame.on('load', function() { setTimeout(function() { $("#modalFrame").hide(), appFrame.show(); }, 1); }); else try { window.frames.appFrame.updatePageFromIndex(); } catch (e) {} } I can simply use "send" and "mouse click" Method to automate the login but that doesn't seems very reliable. Is there any separate way to fill the user ID and password to the respective fields by having reference by frames or something. Appreciate if any one can point me to correct document or help in any way...!
-
Hello! Im trying to do a script, where he open the website IE, use my username, password and select an option. but i can understand how select the option and click on button. Can someone help plz? i do this: #NoTrayIcon #include <IE.au3> Local $oIE =_IECreate("www.segurnet.pt") _IELoadWait($oIE) $Name = _IEGetObjByName($oIE, "username") $Password = _IEGetObjByName($oIE, "j_password") _IEPropertySet ($Name, 'innerText', 'test') _IEPropertySet ($Password, 'innerText', 'test12345') ; need select the option ;need click button to login. While 1 Sleep(10000) _IEAction($oIE, 'refresh') WEnd