Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2011-02-11 Thread Željko Filipin
http://stackoverflow.com/questions/4961202/in-ruby-watir-webdriver-trying-to-call-method-of-one-class-into-another-class -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Hide Ruby.exe cmd window

2011-02-11 Thread Saurabh Gupta
Hi, While execution, trying to hide the Ruby.exe command promt window. But not able to do that till now. If is there any way to do that so kindly let me know. Using Ruby Version:1.8.6 26r Watir Version: 2.0 Thanks and Regards, Saurabh Gupta -- Before posting, please read

[wtr-general] Accessing file_field under div style

2011-02-11 Thread Dan Claudiu Pop
Hi, I'm trying to access the file_field, highlighted in the screenshot below, but because of the div style i'm not able. https://lh5.googleusercontent.com/_omaRUOygWDA/TVVOEv3VuDI/AB0/Z7ZE8So8irw/Capture.PNG I tried @browser.file_field(:name = top_image).set(C:\\image.PNG) with no

Re: [wtr-general] Getting the HTML class attribute from li element

2011-02-11 Thread Željko Filipin
On Fri, Feb 11, 2011 at 4:43 PM, Alastair Montgomery doodl...@gmail.com wrote: li class=ui-workspace-controls-tabs ui-state-default ui-workspace-controls-tab-active id=QASearchGadgetQA Search Gadget/li How can I return the HTML class as a text string? Not sure if there is a nicer way, but you

Re: [wtr-general] Getting the HTML class attribute from li element

2011-02-11 Thread Alastair Montgomery
I've used something like this in another case browser.ul(:class,ws-context-menu).lis.each {|li| menuClass li.attribute_value(class)} -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Re: Firewatir, JSSh, and Firefox 3.6.13?

2011-02-11 Thread Abe Heward
Sadly, no. I just defined a close method and updated all my scripts with it. :- ( -- 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

[wtr-general] Ref: Set Select list does not get recognized / May be Jquery - WAtir problem

2011-02-11 Thread newcucumberwatirandrubyuser
Hi, I am running an app where field 'Site' has a select list wihch gets loaded using Jquery. Next field 'Pub code' gets loaded depending on 'Site' selection. For some reason set select list does not set it. I see value getting changed on the screen but the next field does not get loaded by

Re: [wtr-general] Hide Ruby.exe cmd window

2011-02-11 Thread Ethan
invoking rubyw instead of ruby will not create a cmd window On Fri, Feb 11, 2011 at 06:30, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Feb 11, 2011 at 12:17 PM, Saurabh Gupta saurabhgupta...@gmail.com wrote: While execution, trying to hide the Ruby.exe command promt window.

[wtr-general] Re: Accessing file_field under div style

2011-02-11 Thread Dan Claudiu Pop
Hello, Thanks for replies. The error message that i receive is the following, i apologize fot not mention it: Selenium::WebDriver::Error::ElementNotDisplayedError: Element is not currently visible and so may not be interacted with I've tried @browser.file_field(:name =

[wtr-general] Windows IE9 support?

2011-02-11 Thread trampus
Is there any ETA on getting IE9 support for watir yet? -- 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

[wtr-general] Re: Windows IE9 support?

2011-02-11 Thread Alister Scott
It mostly works. Try it and report problems! On Feb 12, 9:23 am, trampus trichm...@sugarcrm.com wrote: Is there any ETA on getting IE9 support for watir yet? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] Windows IE9 support?

2011-02-11 Thread Charley Baker
Any problem reports would be great. I haven't run against this, but would love to. Charley Baker Lead Developer, Watir, http://watir.com On Fri, Feb 11, 2011 at 4:23 PM, trampus trichm...@sugarcrm.com wrote: Is there any ETA on getting IE9 support for watir yet? -- Before posting, please

Re: [wtr-general] Windows IE9 support?

2011-02-11 Thread Trampus Richmond
Ok I have an issue with Watir finding a button control, but after calling the click method on the control the button is never clicked. The same code works find on Firefox, and IE8, but not IE9RC. I'll have to setup a public instance of the web server to show the issue, which I am working on

Re: [wtr-general] Windows IE9 support?

2011-02-11 Thread Trampus Richmond
The following code works fine with FireFox, IE8, but not with IE9RC. The code finds the button control as it never throws an exception, but the button is never clicked. require 'rubygems' require 'watir' Watir::Browser.default = ie b = Watir::Browser.new()

[wtr-general] Re: Windows IE9 support?

2011-02-11 Thread trampus
The following code fails to click the login button using IE9, but works fine with both Firefox IE8. Watir seems to find the control as it doesn't throw an exception, but the click never happens. require 'rubygems' require 'watir' Watir::Browser.default = ie b = Watir::Browser.new()