[wtr-general] Re: problem running watir tests from hudson

2010-01-15 Thread andreyr
I run Hudson on Windows indeed, but I have a user logged in all the time. Yesterday I tried QuickBuild Community Edition and it worked just fine: I was able to run QB server and launch Firefox and/or IE on the same host, and all tests executed as expected. IMO, this confirms my initial guess that

Re: [wtr-general] Linux Firefox/JSSH issue

2010-01-15 Thread Željko Filipin
On Thu, Jan 14, 2010 at 9:51 PM, Aedorn aed...@gmail.com wrote: With all that said, I don't know where to go from here. I would suggest that you take a look at watir-webdriver: http://zeljkofilipin.com/2010/01/12/watir-on-webdriver/ Please let me know if you need any help with it. I am playing

Re: [wtr-general] Re: Driving Watir scripts in IE and Firefox at the same time

2010-01-15 Thread Željko Filipin
On Thu, Jan 14, 2010 at 10:02 PM, tester86 sagar.am...@gmail.com wrote: But when I execute in IE I get the error $b is undefined. It is hard to guess how your code looks and where is the problem. If you post it, we would have more chance in helping you. Željko -- You received this message

[wtr-general] Re: Driving Watir scripts in IE and Firefox at the same time

2010-01-15 Thread al3kc
could you share your code? -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To

Re: [wtr-general] Linux Firefox/JSSH issue

2010-01-15 Thread Aedorn Varanis
But does this work in Linux and with FireWatir? I was looking at it, and while it seems like a great thing to have, it also seems like it's limited to Win32 environments, which I'm actually not *allowed* to use. On Fri, Jan 15, 2010 at 3:15 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote:

Re: [wtr-general] Linux Firefox/JSSH issue

2010-01-15 Thread Željko Filipin
On Fri, Jan 15, 2010 at 5:18 PM, Aedorn Varanis aed...@gmail.com wrote: But does this work in Linux and with FireWatir? Yes. Since I am not home with Linux, I needed some help from Jari to install ruby and rubygems, but watir-webdriver drives Firefox on Ubuntu just fine (tried it a minute ago).

[wtr-general] Re: Question on instance of browsers

2010-01-15 Thread Anna Kruglyanskaya
Thank you Tiffany, it helped out a great deal. Anna On Jan 14, 12:26 pm, Tiffany Fodor tcfo...@comcast.net wrote: Hi Anna! Are you running these scripts in any kind of framework or are they independent of each other? If they are in a framework, you can make your browser instance a global

[wtr-general] Re: Driving Watir scripts in IE and Firefox at the same time

2010-01-15 Thread tester86
Hi Please note that this is an example of what tests. Class TestGoogle Test::Unit::TestCase def test_start() $b=Watir::Browser.start(https://www.google.com;) end def test_entertext() $b.text_field(:name, SearchField).set(Search) $b.button(:name, btnG).click end def test_verify() if

Re: [wtr-general] Linux Firefox/JSSH issue

2010-01-15 Thread Aedorn Varanis
Is there a way to click javascript popup window buttons? I see no click_no_wait command, or a startClicker like in FireWatir. If there's a way to do that then I can pretty much just use this driver. On Fri, Jan 15, 2010 at 9:57 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri,

[wtr-general] fire_event not fired in firewatir

2010-01-15 Thread ad
Hi, I am trying to fire an event in firewatir. Basically, there is a text field. Any key event in the text field, e.g. spacebar, enables a button. ff.text_field(:id,ok).set xyz doesnt enable the button neither does ff.text_field(:id,ok).fire_event(onkeypress) I modified the element.rb file to

Re: [wtr-general] Re: Driving Watir scripts in IE and Firefox at the same time

2010-01-15 Thread Bill Agee
Can you post the complete backtrace? I bet the method test_entertext is being run before test_start. If I remember correctly, Test::Unit runs the methods inside a test class in asciibetical order. You might want to collapse all three of those methods into one. There's probably no real gain in

Re: [wtr-general] Linux Firefox/JSSH issue

2010-01-15 Thread Jari Bakken
On Fri, Jan 15, 2010 at 9:10 PM, Aedorn Varanis aed...@gmail.com wrote: Is there a way to click javascript popup window buttons? I see no click_no_wait command, or a startClicker like in FireWatir. If there's a way to do that then I can pretty much just use this driver. For watir-webdriver,

Re: [wtr-general] Re: Driving Watir scripts in IE and Firefox at the same time

2010-01-15 Thread Wesley Chen
You may change *Class TestGoogle Test::Unit::TestCase* to *class TestGoogle Watir::TestCase* And *require 'watir' require 'watir/testcase'* Thanks. Wesley Chen. For life, the easier, the better. On Sat, Jan 16, 2010 at 5:35 AM, Bill Agee billa...@gmail.com wrote: Can you post the complete