Vasud Posted December 18, 2017 Posted December 18, 2017 I've done login to website using IE browser with _IE Create, then new popup page opens which is secured. After it is successfully login to the next page, I cannot click the button of the currently opened page. Since it is secured, If i use _IE Navigate function to the second URL, i couldn't get tag id and elements of the current page loaded. How can i get tag id and element of the current page when URL changes with some values each time on page load. Can anyone help me to sort out this problem.
genius257 Posted December 18, 2017 Posted December 18, 2017 Hi @Vasud. Some code would be helpful. To show your appreciation My highlighted topics: AutoIt Package Manager, AutoItObject Pure AutoIt, AutoIt extension for Visual Studio Code Github: AutoIt HTTP Server, AutoIt HTML Parser
Vasud Posted December 18, 2017 Author Posted December 18, 2017 Hi @genius257 My coding starts like this, #include < IE.au3> RunWait('taskkill /F /IM "iexplore.exe"') Local $oIE = _IECreate(" Mywebsite Link ") $o_Individual_Field_1 = _IEGetObjById ($oIE, "username") Sleep(500) _IEFormElementSetValue($o_Individual_Field_1,"XXXXXXX") Sleep(500) $o_Individual_Field_1 = _IEGetObjById ($oIE, "password") Sleep(500) _IEFormElementSetValue($o_Individual_Field_1,"YYYYY") Sleep(500) I can get this webpage username and password tab ID so that i can input values to it, then it gets logged into home page. As it is secured website URL changes while page load with some number encrypted to it. I cant able to get the handle and tag id of currently changed URL.
jdelaney Posted December 18, 2017 Posted December 18, 2017 Script in the closing of the popup, and the DOM will be accessible again. IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Vasud Posted December 19, 2017 Author Posted December 19, 2017 Hi @jdelaney Am new to autoit, can u help me how to script in the closing of the popup.
jdelaney Posted December 20, 2017 Posted December 20, 2017 WinWait, WinClose Also, do a forum search for 'deadlocked'. IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now