Jump to content

IE : input a date in pop calendar


 Share

Recommended Posts

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

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