bluebug Posted October 28, 2016 Posted October 28, 2016 Hi guys, I need a help, i have a problem to do automation in following code html: <input type="text" size="20" autocomplete="off" id="ext-comp-1001" name="username" class=" x-form-text x-form-field x-form-invalid" style="width: 112px;"> <input type="password" size="20" autocomplete="off" id="ext-comp-1002" name="password" class=" x-form-text x-form-field x-form-invalid" style="width: 112px;"> My Code in autoit: #include<IE.au3> $oIE = _IECreate("http://zero0679.comule.com/SimpleForm.php") $Name = _IEGetObjById($oIE, "ext-comp-1001") $Email = _IEGetObjById($oIE, "ext-comp-1002") _IEPropertySet($Name, 'innerText', 'Henry') _IEPropertySet($Email, 'innerText', 'Henry@gmail.com') But does not work. Do can you help me? web.au3
Anoop Posted October 28, 2016 Posted October 28, 2016 (edited) Check https://www.autoitscript.com/autoit3/docs/libfunctions/_IEFormElementSetValue.htm _IEFormElementSetValue($Name,"Henry") Edited October 28, 2016 by Anoop
bluebug Posted October 28, 2016 Author Posted October 28, 2016 Does not work , this is a page have dynamic id. Web pages with dynamic id can create this errors?
Anoop Posted October 28, 2016 Posted October 28, 2016 So you are getting error when loading the website initially itself. Try to solve it first. bluebug 1
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