Jump to content

Recommended Posts

Posted

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.

 

Posted

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. 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...