Jump to content

for controlcommand is that any library file needed


sumanroy
 Share

Recommended Posts

#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

Link to comment
Share on other sites

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
Link to comment
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

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