[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: Segmentation Fault on browser.alert.ok

2013-12-02 Thread Liz Goodson
Awesome advice, Jarmo. Thank you so much for getting me past that problem! On to the next hurdle, which I will post in a separate thread. Thanks again! Liz On Thursday, November 28, 2013 12:52:43 AM UTC-6, Jarmo Pertman wrote: > Hi! > > The problem is with current version (1.9.3) of ffi gem.

[wtr-general] Problems dismissing Javascript dialog that uses apprise

2013-12-02 Thread Liz Goodson
The code that I am testing presents a confirmation dialog box, with two options - "Yes" and "No". At first my code was bombing on the browser.alert.ok I was graciously advised by Jarmo to downgrade my ffi to 1.9.0. That eliminated the problem, but now I have a new one: C:/Ruby193/lib/ruby

Re: [wtr-general] Problems dismissing Javascript dialog that uses apprise

2013-12-02 Thread Oscar Rieken
I tried this out on the Apprise page and it worked fine. > b = Watir::Browser.new :chrome => # > b.goto "http://labs.bigroomstudios.com/libraries/Apprise-v2"; => "http://labs.bigroomstudios.com/libraries/Apprise-v2"; > content = b.button(text: "Apprise('hi there');").click => [] > b.button(id:

[wtr-general] How to validate a page anchor link does scroll into the view

2013-12-02 Thread Super Kevy
Assuming the code snippet. Visit the Useful Tips Section ... more page layout here ... Useful Tips Section Is there a way to confirm the element scrolls into view using the page anchor or should I just confirm the target anchor has the matching id? -- -- Before posting, please read

Re: [wtr-general] Re: Parse HTML from database in Watir?

2013-12-02 Thread Lonny Eachus
On Friday, May 17, 2013 10:43:32 AM UTC-7, Ċ½eljko Filipin wrote: > > On Fri, May 17, 2013 at 7:41 PM, Chuck van der Linden < > cvande...@climate.com> wrote: > >> IMHO if you are just trying to parse HTML, and not trying to drive a >> browser, you might be better off to just use Nokogiri ( >> http