sagarphirke Posted December 26, 2013 Share Posted December 26, 2013 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 More sharing options...
Danp2 Posted December 26, 2013 Share Posted December 26, 2013 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. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
sagarphirke Posted December 26, 2013 Author Share Posted December 26, 2013 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. Link to comment Share on other sites More sharing options...
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