[wtr-general] Re: page-object and frames

2013-12-04 Thread Dan
Perfect! That's exactly what I was looking for. Thanks! On Wednesday, December 4, 2013 12:14:46 AM UTC-5, Justin Ko wrote: > > You can use the generic element accessor, which is in the form > element(:name, :tag_name, :identifier => 'value'). For example: > > element(:fckeditor, :frame, :id =>

[wtr-general] Re: page-object and frames

2013-12-03 Thread Justin Ko
You can use the generic element accessor, which is in the form element(:name, :tag_name, :identifier => 'value'). For example: element(:fckeditor, :frame, :id => 'editor') This would let you do: fckeditor_element.send_keys("This is my text") Note that you can also locate the element directly,

[wtr-general] Re: page-object and frames

2013-12-02 Thread Dan
This doesn't get me a handle to the frame itself. I'm looking for something like. frame(:fckeditor,:id => 'editor') fckeditor_element.send_keys("This is my text") On Friday, November 29, 2013 5:44:32 AM UTC-5, QOExcel wrote: > > in_frame(:class => 'share-client-content-iframe') do |frame| >

[wtr-general] Re: page-object and frames

2013-11-29 Thread QOExcel
in_frame(:class => 'share-client-content-iframe') do |frame| text_field(:invite, :id => ':p.fakeRecipient', :frame => frame) text_area(:hiddeninvite, :id => ':l', :frame => frame) среда, 27 ноября 2013 г., 20:07:58 UTC+4 пользователь Dan написал: > > I know this isn't a watir question per