Jump to content
Sign in to follow this  
smita

Pop up calender

Recommended Posts

smita

I want to click on pop up calender & have to select dates from calender how to include this in script?

Scirpt for login page:

#include <IE.au3>

$oIE = _IECreate ("http://12.44.178.188/login.php",0,1,1)

$oForm = _IEFormGetCollection ($oIE, 0)

$oLogin = _IEFormElementGetObjByName($oForm, "login")

$oPass = _IEFormElementGetObjByName($oForm,"password")

$osignin = _IEFormElementGetObjByName ($oForm, "btnconnect")

$USERNAME = 'admin'

$PASSWORD = 'admin'

_IEFormElementSetValue($oLogin,$USERNAME)

_IEFormElementSetValue($oPass,$PASSWORD)

_IEAction($osignin,"click")

After login I will get main page , where I want to click on pop up calender & have to select dates from calender how to include this in script?

In this script can I use mousemove & controlclick commnads?

Share this post


Link to post
Share on other sites
PsaltyDS

I want to click on pop up calender & have to select dates from calender how to include this in script?

After login I will get main page , where I want to click on pop up calender & have to select dates from calender how to include this in script?

In this script can I use mousemove & controlclick commnads?

That depends on the web site (there's no chance I'm actually going to test that link). Post the HTML of the page. Also, if it is a pop up from the page, it might not be an IE window anymore. Take a look at the pop up with AutoIt Window Info Tool, and see what the controls look like.

:P


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
smita

$oSelect1 =_IEGetObjById($oIE, "anchor1")

_IEAction($oSelect1,"click")

By using this I am able to click on Popup calender but there is a drop down of month & year that I am not able to select.

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  

×