Jump to content

Recommended Posts

Posted

Dear Experts;

I have an Intranet site and which has fields to Enter like :-

First Name :

Last Name :

E-mail :

Telfonenumber :

A button for Submit and Reset.

I want to read data from XLS or Notepad and submit this into above form in Intranet portal.

 

I started with the code in IE.au3; but I am facing some problems in identifying the fields and assigning it to varianbles.

Below is my code so faar :-

#include <IE.au3>
_IEErrorHandlerRegister()
WinActivate("[CLASS:IEFrame]")
Global $sURL = ControlGetText("[CLASS:IEFrame]", "", "Edit1")
Global $oIE = _IEAttach($sURL, "url")
 
$obutton = _IEGetObjById($oIE,"search")
 
But this is not working.It is not able to find search button or any fields.
 
Any suggestions ?
 
 

 

Posted

Hi;

Apologies.I am novice and dont understand HTML code or don't know how to read HTML code.Any suggestion how should I go ahead   :

I used winactivate and control get text because earlier it was giving me error with IEattach.

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