trinag Posted January 2, 2014 Share Posted January 2, 2014 How can I input a date in the Date field athttp://www.irctc.co.in ?Using the below method I succeeded with the other fields From*,To*,TicketType*,Quota*, but not with the Date.I also tried _IEImgClick, but without success. #include <IE.au3> Local $oIE = _IECreate("http://www.irctc.co.in") $oElement = _IEGetObjByName($oIE, "userName") _IEFormElementSetValue ($oElement,"trinag");, "userName")) Sleep(500) $oElement = _IEGetObjByName($oIE, "password") _IEFormElementSetValue ($oElement, "twk162"); "password") Sleep(500) $Button = _IEGetObjByName($oIE,"button") _IEAction($Button,'Click') _IELoadWait($oIE) 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