Jump to content

IE.au3 Intranet site


Recommended Posts

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 ?
 
 

 

Link to comment
Share on other sites

1.  When posting code, use the Code button from the toolbar to make it easier to read.

2. Why are you using WinActivate and ControlGetText to find the URL? You should already know the appropriate URL for your intranet site.

3. Post the relevant portion of the html code so that we can see the input fields and search button definitions.

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