aces27 Posted February 3, 2011 Share Posted February 3, 2011 Hi all , Thanks for the great tool and forum , require assistance for a task which I believe , for which autoIt is typically meant for.This is what I am trying to work with.http://ndncregistry.gov.in/ndncregistry/index.jsp On this URL there is a provision to check "DND Registration Check".Input the mobile number and it displays in the web page , whether the number is registered or not.Using Auto It trying to :1.Read an Excel File 2.Open the web page3.Press the link - Provide the Input4.Obtain status (then do String manipulation)5.Re Write into a new / existing excelPlease provide your valuable guidelines to how to approach this , that I can start trying to work it out.Possible glitches I foresee are1.URL is not a fixed one2.Speed at which autoit can and should do3.Obtaining the responseThere are two body tags in the result page.Sending / Obtaining the response. ?????I think I might be able to manage simple opening of IE , reading excel , writing excel.Please provide a list of functions that would be ideal for this , and the approach I should take.I shall try and revert back here , with my honest attempts.Note : I am at the hello world stage with autoit / but familiar with programming in general - a quick learner.ThanksLooking forward Link to comment Share on other sites More sharing options...
jvanegmond Posted February 3, 2011 Share Posted February 3, 2011 Alright then. Quickly put:You can use the Excel library (offered here: ) to get the phone numbers from the Excel input file.You can use the included with AutoIt IE library to do very fine control of Internet Explorer. You can use this very easily to POST the request to the website and read out the results.Once you have the HTML result of that page, the string manipulation that is required should be no problem. Simply check for a pre-defined substring. You can then use the same Excel library to write the output to another Excel file.If you wish to avoid Excel library (I would), you can store the list of phone numbers in a CSV which is more easily parseable by a program and write output in CSV as well. github.com/jvanegmond 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