[wtr-general] Re: watir-classic issue with execute_script and JSON

2013-02-07 Thread Jarmo Pertman
That's sad to hear. What if you run execute_script two times in a row - will you also get an error for the second run? Jarmo Pertman - IT does really matter - http://itreallymatters.net On Thursday, February 7, 2013 12:58:36 AM UTC+2, captin wrote: > > Jarmo, > > My apologies for the versi

[wtr-general] Re: watir, watir-webdriver, watir-classic: history and current state?

2013-02-07 Thread Jarmo Pertman
By the way, Watir-Classic works quite similarly today when compared to Watir-Webdriver - e.g. handling of popups is the same and you cannot interact with hidden elements. In other words - there should not have many of incompatibilities between the two. Jarmo Pertman - IT does really matter

[wtr-general] Re: how to set focus on a popup window and continue work in popup window as a Current window in WATIR

2013-02-07 Thread alweller66
I've tried to implement code by following the online sample codes below, but it is not working, i'm not sure why? @browser = Watir::Browser.new @browser.goto(initial_url) @browser.link(:url, @browser.link(:url, "javascript:doNow()").click)) popup = $browser.attach($browser.link(:url, $browser.

[wtr-general] Re: how to set focus on a popup window and continue work in popup window as a Current window in WATIR

2013-02-07 Thread alweller66
Thank you for all replies! On Thursday, 7 February 2013 14:03:28 UTC+8, alwel...@gmail.com wrote: > > > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-gene

Re: [wtr-general] NoMethodError: undefined method `show_images'

2013-02-07 Thread Judy
ok, thank you. On Thursday, February 7, 2013 3:21:58 AM UTC-5, Željko Filipin wrote: > > On Wed, Feb 6, 2013 at 11:24 PM, Judy >wrote: > >> I am getting NoMethodError for "show_images()" method in Watir , what >> should I do? > > > What are you trying to do? #show_images is deprecated, you should

Re: [wtr-general] how cucumber finds html ids - via DOM or by parsing html code ?

2013-02-07 Thread Željko Filipin
On Thu, Feb 7, 2013 at 11:22 AM, Ragavan Ambighananthan < eelam.raga...@gmail.com> wrote: > I would like to understand from performance perspective how cucumber finds > an html id when we interact with them via automation. Cucumber does not know anything about the browser. Watir drives the brows

[wtr-general] how cucumber finds html ids - via DOM or by parsing html code ?

2013-02-07 Thread Ragavan Ambighananthan
Hi We are using cucumber/ruby as the primary automation framework. I would like to understand from performance perspective how cucumber finds an html id when we interact with them via automation. via DOM or by parsing HTML ids, i think its latter , I would like to understand the main reason beh

[wtr-general] Re: how to set focus on a popup window and continue work in popup window as a Current window in WATIR

2013-02-07 Thread Alex Shtayer
Željko provided good link, but probably that approach works only for watir-webdriver For Watir: - If that popup window is usual modal window, so you can work with it through .attach method - If that popup window is Javascript pop-up, so you do not have any way to do that, except using other li

Re: [wtr-general] NoMethodError: undefined method `show_images'

2013-02-07 Thread Željko Filipin
On Wed, Feb 6, 2013 at 11:24 PM, Judy wrote: > I am getting NoMethodError for "show_images()" method in Watir , what > should I do? What are you trying to do? #show_images is deprecated, you should use browser developer tools to inspect the page. Željko -- https://leanpub.com/watirbook -- --

Re: [wtr-general] how to set focus on a popup window and continue work in popup window as a Current window in WATIR

2013-02-07 Thread Željko Filipin
http://watirwebdriver.com/browser-popups/ Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googleg

[wtr-general] NoMethodError: undefined method `show_images'

2013-02-07 Thread Judy
I am getting NoMethodError for "show_images()" method in Watir , what should I do? Please help. Thanks. C:\Watir_Scripts>irb irb(main):001:0> require "Watir" => true irb(main):002:0> browser = Watir::Browser.new => # irb(main):003:0> browser.goto("http://www.google.com";) => 0.834084 irb(main):0

[wtr-general] how to set focus on a popup window and continue work in popup window as a Current window in WATIR

2013-02-07 Thread alweller66
-- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google