Hi,

we have a text field which is type ahead and the control is hidden.Since 
the control is hidden for this text field Watir script is unable set text 
in this field. we tried the below to set focus in the field but no success.

    #browser.text_field(:id, /txtAUAuto/).container.focus
    #browser.text_field(:id, /txtAUAuto/).focus
    #browser.text_field(:name, 
"ctl00$ctl00$cph_MainContent$cph_PageContent$ucExceptionsGrid$ucEditException$txtAUAuto").container.focus
    #browser.div(:id, /pnlEditExceptions/).text_field(:id, 
/txtAUAuto/).container.focus
    #browser.div(:id, /pnlEditExceptions/).text_field(:id, 
/txtAUAuto/).focus
    #browser.div(:id, "hdnProgressBar").text_field(:id, 
/txtAUAuto/).container.focus
    #focus_on_textfield_by_id(browser, /txtAUAuto/)

can anybody help.

Thanks in advance.

Regards,
Veera.

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to