[Wtr-general] 'Unable to locate object' problem

Charley Baker charley.baker at gmail.com
Wed May 2 12:19:26 EDT 2007


You're trying to write to what appears to be a frame not the textarea.

ie.text_field(:name, 'SN_NOTESSText').set('this should work')



-Charley


On 5/2/07, Imran Hussain <imran_x at hotmail.com> wrote:
>
> Hi,
>
> 'Unable to locate object' problem
>
> When running the following show_all_objects command, I get;
>
> rb(main):016:0> ie.show_all_objects
> -----------Objects in  page -------------
> HTML Document     name=               id=SN_NOTESSFrame   src=
> textarea          name=SN_NOTESSText  id=                 value=
>
> How do I write to this object? do I use this:
>
> ie.text_field(:id ,"SN_NOTESSFrame").set("TESTING 1234")
>
> Is this within a frame??
> This doesn't seem to be working .... can someone help?
>
> Thanks,
> Imran
>
>
>
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070502/5bbc8640/attachment.html 


More information about the Wtr-general mailing list