Sign in to follow this  
Followers 0
sumanroy

for controlcommand is that any library file needed

3 posts in this topic

#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

Share this post


Link to post
Share on other sites



#2 ·  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

Share this post


Link to post
Share on other sites

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

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  
Followers 0