Jump to content

Automation WebPage


bluebug
 Share

Recommended Posts

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

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...