Sign in to follow this  
Followers 0
sagarphirke

IE.au3 Intranet site

3 posts in this topic

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 ?
 
 

 

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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
Sign in to follow this  
Followers 0