[wtr-general] Quit from the mail list

2008-10-31 Thread 伞云飞
I want to quit, please help, thanks! --~--~-~--~~~---~--~~ 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 fol

[wtr-general] Re: Quit from the mail list

2008-10-31 Thread Željko Filipin
You are now unsubscribed. Željko 2008/10/31 伞云飞 <[EMAIL PROTECTED]> > I want to quit, please help, thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to

[wtr-general] Can I change status of a test (in test unit)

2008-10-31 Thread LanOK
One of my tests always returns error, so I want to change it's status in to "pass". I'm using test unit. Does anybody know how make test unit not to registrate an error in this test? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[wtr-general] Can I change status of a test (in test unit)

2008-10-31 Thread LanOK
One of my tests always returns error, so I want to change it's status in to "pass". I'm using test unit. Does anybody know how make test unit not to register an error in this test? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

[wtr-general] Re: Can I change status of a test (in test unit)

2008-10-31 Thread Anna Gabutero
LanOK wrote: > One of my tests always returns error, so I want to change it's status > in to "pass". > I'm using test unit. > Does anybody know how make test unit not to register an error in > this test? You should be trying to fix the error instead. Covering it up just goes against the whole p

[wtr-general] Re: Can I change status of a test (in test unit)

2008-10-31 Thread andy sipe
Test unit uses exceptions to determine if an error occurred. The default assert methods simply throw an exception if the resolve to false. To silence an error you could do something like: def test_error begin assert_equal(true, false) #other test code here rescue

[wtr-general] Firewatir support for cookies

2008-10-31 Thread Tony
Hi, Have been able to get cookie information from firefox using the below code. All the cookies are returned as an array with all the information. Thought would share the same Still working on updating and creating a new cookie. module FireWatir class Firefox # - gets all cookies from brows

[wtr-general] Re: Watir 1.6.0 Available for Preview Testing

2008-10-31 Thread Matt Riley
Bret - This is awesome and will probably help me stay employed ;) -Matt Bret Pettichord wrote: > I have uploaded Watir/FireWatir 1.6 to the wiki and would like to get > some feedback on it before I release it to Rubyforge (where it will > become the default version when you do a 'gem install w

[wtr-general] Re: Watir 1.6.0 Available for Preview Testing

2008-10-31 Thread Bret Pettichord
Good report. This shouldn't be happening. Let me figure out what is going on. Thanks for posting your workaround. Bret Tony wrote: > While trying to run a testcase i keep getting an error - > This is the script - > require 'watir' > Watir::Browser.default = 'ie' > brow = Watir::Browser.new() >

[wtr-general] Re: Can I change status of a test (in test unit)

2008-10-31 Thread LanOK
I'm testing an application which has javascript and flash/flex components. So When I have HTML window, I use Watir. when flex - I use Funfx. When my test close flex-pop-up window, it mark it as an error. And says something like: the connection with flex component was lost (I can't show you the ori

[wtr-general] Re: Can I change status of a test (in test unit)

2008-10-31 Thread Bret Pettichord
LanOK wrote: > One of my tests always returns error, so I want to change it's status > in to "pass". > I'm using test unit. > Does anybody know how make test unit not to register an error in > this test? If i have a bad test that i don't want to delete, i change its name to xtest_whatever. Then

[wtr-general] Re: Watir 1.6.0 Available for Preview Testing

2008-10-31 Thread Bret Pettichord
I've reproduced the problem. Another workaround is to add "gem 'watir'" to the top of the script. I'm trying to understand more about why this is happening. As background, Watir 1.6 now "autoloads" firewatir original-watir (now called watir-ie) or safariwatir based configuration. This is where

[wtr-general] Watir 1.6.1 is available for testing

2008-10-31 Thread Bret Pettichord
I have built and uploaded Watir 1.6.1. This fixes all of the install/load problems reported by MarekJ and Tony, and in fact has a simplified install process. Details here http://wiki.openqa.org/display/WTR/Development+Builds Please let me know of any trouble with this. If it looks good, I will

[wtr-general] Re: Watir 1.6.0 Available for Preview Testing

2008-10-31 Thread Tiffany Fodor
Hi All! I've been trying to run the FireWatir 1.6.0 unit tests, but each time I get the following error as they start: C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.0/unittests/setup.rb:14: uninitialized constant Watir::Browser (NameError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/cust

[wtr-general] Re: Watir 1.6.0 Available for Preview Testing

2008-10-31 Thread Bret Pettichord
Tiffany, I broke all of the watir/firewatir unit tests when run from gems. At this point you need to run them out of trunk. I'll update the 1.6. page. How badly do you all want me to fix this? Bret Tiffany Fodor wrote: > Hi All! > > I've been trying to run the FireWatir 1.6.0 unit tests, but

[wtr-general] Re: Watir 1.6.0 Available for Preview Testing

2008-10-31 Thread Tiffany Fodor
Hey Bret! I don't really need the unit tests. I first tried to get some of my existing tests to run with FireWatir and when they failed, decided to try out the unit tests to see if the problem was in my tests. I'm getting the same error when I try to run my tests in Firefox. I don't want to ta

[wtr-general] Re: Watir 1.6.0 Available for Preview Testing

2008-10-31 Thread Tiffany Fodor
Hi again! I had previous versions of Watir installed (1.5.2 and 1.5.3) as well as 1.6.0. My problem went away when I uninstalled all of the versions and reinstalled 1.6.0. I haven't done a ton of testing FireWatir yet, but here are a couple of issues I've come across. 1. There doesn't seem to

[wtr-general] Re: Watir 1.6.0 Available for Preview Testing

2008-10-31 Thread Tiffany Fodor
Hi again! I had previous versions of Watir installed (1.5.2 and 1.5.3) as well as 1.6.0. My problem went away when I uninstalled all of the versions and reinstalled 1.6.0. I haven't done a ton of testing FireWatir yet, but here are a couple of issues I've come across. 1. There doesn't seem to

[wtr-general] Re: Watir 1.6.0 Available for Preview Testing

2008-10-31 Thread Michael Hwee
On Firewatir, extracting text from ff gives extra special chars. For example, I got extra ox160 and some other weird chars. String-matching almost always failed. Wrote cleaning method to clean up the extracted text. def cleanText dirty_text newstr = "" dirty_text.length.times do

[wtr-general] Re: Watir 1.6.0 Available for Preview Testing

2008-10-31 Thread Tiffany Fodor
Hi again! I had previous versions of Watir installed (1.5.2 and 1.5.3) as well as 1.6.0. My problem went away when I uninstalled all of the versions and reinstalled 1.6.0. I haven't done a ton of testing FireWatir yet, but here are a couple of issues I've come across. 1. There doesn't seem to

[wtr-general] Re: Watir 1.6.0 Available for Preview Testing

2008-10-31 Thread Bret Pettichord
Tiffany Fodor wrote: > Hi again! > > I had previous versions of Watir installed (1.5.2 and 1.5.3) as well > as 1.6.0. My problem went away when I uninstalled all of the versions > and reinstalled 1.6.0. > Interesting. This shouldn't be necessary, so I'd like to learn more about these problems

[wtr-general] Re: Watir 1.6.0 Available for Preview Testing

2008-10-31 Thread Bret Pettichord
Thanks for the report and the fix. This is also something I've heard about, but had not been able to reproduce. Can you show us a page that demonstrates this problem? Bret Michael Hwee wrote: > On Firewatir, extracting text from ff gives extra special chars. > For example, I got extra ox160 an

[wtr-general] Re: Watir 1.6.0 Available for Preview Testing

2008-10-31 Thread Tiffany Fodor
Yep - here's the login page for our production site: https://producer.icat.com/icatsss/Main.startup.do Thanks! -Tiffany On Oct 31, 4:16 pm, Bret Pettichord <[EMAIL PROTECTED]> wrote: > Thanks for the report and the fix. This is also something I've heard > about, but had not been able to reprod

[wtr-general] Re: Watir 1.6.0 Available for Preview Testing

2008-10-31 Thread Tiffany Fodor
> > I had previous versions of Watir installed (1.5.2 and 1.5.3) as well > > as 1.6.0. My problem went away when I uninstalled all of the versions > > and reinstalled 1.6.0. > > Interesting. This shouldn't be necessary, so I'd like to learn more > about these problems (from you or others).> I hav

[wtr-general] Re: Firewatir support for cookies

2008-10-31 Thread wesley chen
That's great!, I think it is quite useful. Thanks. Wesley Chen. If you think I can help you, please tell me, I will try my best. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this g