Yes, you do need to specify the frame.  Try something like:

                        ie.frame('FrameName').text_field(:name, "inpListFilter" ).set("adm" )

You should be able to incorporate the FrameName into your 'ECMTestFixture' object.

To see the frames that Ruby/Watir sees, try the following at an IRB prompt:

> ie.show_frames


On 10/08/06, Dave Munns < [EMAIL PROTECTED]> wrote:
Hi. I am building a test tool to automate navigation through a UI with IE frames. Text fields, buttons, lists, and web dialog boxes are all targets for my tool.  The examples I see in the watir user guide don't mention frames. I have tried navigating to a text field, using the user guide example, but watir complains that my text field identifier ("inpListFilter") is not found (I identified it with SpySmith). Do I have to qualify the identifier with a frame name or set the frame context ?

Here is the offending line:
                        ECMTestFixture.text_field(:name, "inpListFilter" ).set("adm" )

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to