sumanroy Posted April 25, 2007 Share Posted April 25, 2007 #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 More sharing options...
Gabburd Posted April 25, 2007 Share Posted April 25, 2007 (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 April 25, 2007 by Gabburd Link to comment Share on other sites More sharing options...
sumanroy Posted April 25, 2007 Author Share Posted April 25, 2007 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now