Hi All,

When i am trying to execute the following script

 $ie.text_field(:id, 
"ctl00_mContentPlaceHolder_ctrlProductAutoComplete").set(productname)

I am getting the below error.

I also tried like below...but still facing the same issue.

$ie.text_field(:id, 
"ctl00_mContentPlaceHolder_ctrlProductAutoComplete").focus 
$ie.text_field(:id, 
"ctl00_mContentPlaceHolder_ctrlProductAutoComplete").set(productname)




WIN32OLERuntimeError: (in OLE method `focus': )
    OLE error code:800A083E in htmlfile
      Can't move focus to the control because it is invisible, not enabled, 
or of a type that does not accept the focus.
    HRESULT error code:0x80020009
      Exception occurred.

Please help how to resolve the issue. I am using Watir gem.

Thanks,
Praveen Vadla


-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to