Jump to content

Recommended Posts

Posted

#include <IE.au3>

#include <file.au3>

#include <Misc.au3>

$oIE = _IECreate("http://ceb-eds/HRAAdministrationPhase3/default.aspx")

WinSetState ( "HRA Administration - Microsoft Internet Explorer provided by GlobalLogic INC", "", @SW_MAXIMIZE )

ControlCommand('HRA Administration - Microsoft Internet Explorer provided by GlobalLogic INC' , '' , 'ctl00$ContentPlaceHolder1$ctlOrgNameDropDownList',"ShowDropDown", "")

is that my code correct ?

still its not working

Need to know is that any header file needed.

Thanks

Suman

Posted (edited)

I don't think that control's on an Asp.Net page can be set with Control Command.

You might want to look at some of the other functions in IE.au3, maybe _IEFormElementSetValue()

Edited by Gabburd
Posted

Thanks for the reply

but its not solving my purpose

code: #include <IE.au3>

#include<file.au3>

$oIE = _IECreate ("http://www.google.com")

$oForm = _IEFormGetObjByName ($oIE, "f")

$oQuery = _IEFormElementGetObjByName ($oForm, "q")

_IEFormElementSetValue ($oQuery, "sql")

_IEFormSubmit ($oForm)

its putting value in text box not in combo box

My purpose to put value in combo box.

thanks

Suman

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
×
×
  • Create New...