Ah okay. Thank you for the reply. I understand now what it means by frame. 
Here is the HTML for the element (text field) I am attempting to manipulate:

<input type="text" name="store" id="store" size="15" 
onkeyup="storeAutoComplete(event);" onblur="popupRemoveFocus();" 
style="height:20;" value="">

I attempted to change the line

*def workspace; @browser.frame(:name, "store"); end* 

to 

*def workspace; @browser.text(:name, "store"); end* 

and ran into this:

C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/page-c
ontainer.rb:64:in `text': wrong number of arguments (2 for 0) 
(ArgumentError)
        from scccase.rb:10:in `workspace'
        from scccase.rb:26:in `<main>'


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