Jump to content

Recommended Posts

Posted (edited)

I am really stuck with this.

#include<IE.au3>

local $oIE = _IEAttach("Application")   ; the name of Tab

local $oForm = _IEFormElementGetObjByName($oIE, "lastName")   ; "lastName" - <input name="lastName" class...>

 

running it,, there is an error: _IEFormElementGetObjByName, $_TESTATUS_InvalidObjectType

What's wrong?

Edited by sqa
Posted

Have you create already an IE instance with string " Application " in its title?

 

You can try below function for getting an object with name.

_IEGetObjByName ( ByRef $oObject, $sName [, $iIndex = 0] )

 

Thanks

Anoop

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...