[wtr-general] Re: Firewatir (1.6.2) and select_list objects

2008-11-13 Thread Bret Pettichord
This sounds like a firewatir bug. Tiffany Fodor wrote: Hi! I apologize if you've already addressed this - I did a quick search of the threads and didn't see this issue. With Firewatir in version 1.6.2, I can't perform a 'set' on a select list, only 'select' works. The 'set' method works

[wtr-general] Re: Firewatir (1.6.2) and select_list objects

2008-11-13 Thread Bret Pettichord
Tiffany, Could you please log this as a Firewatir bug. Surprisingly we have no unit tests for either select_list().set (as i assumed) or select_list().select (which was a surprise). Bret Bret Pettichord wrote: This sounds like a firewatir bug. Tiffany Fodor wrote: Hi! I apologize

[wtr-general] Re: Help needed documenting Watir 1.6 roll out

2008-11-12 Thread Bret Pettichord
be included in a library for a browser driver. Bret Gavin Jefferies wrote: On Mon, Nov 10, 2008 at 7:24 AM, Bret Pettichord [EMAIL PROTECTED] wrote: First of all, I need help from some one who will read everything I post to this list. We are already getting several questions on this list which I

[wtr-general] Re: Firefox 2 : WATIR 1.6.2 and table operations

2008-11-12 Thread Bret Pettichord
We were not able to get table body support for firefox into this release. I have updated the compatibility matrix. Bret Natasha wrote: Hi All, I am using Watir 1.6.2 and was running my test on Firefox 2 for the first time. I found that the following code is not getting executed on

[wtr-general] Re: wait_until gives undefined method error

2008-11-12 Thread Bret Pettichord
I think the subject line is incorrect. Your problem is that your code to initialize the browser needs to be in a startup method. The error message you are getting is telling you that @ie is nil (because it has not been initialized). Bret maven999 wrote: Hi all, I am trying to write some

[wtr-general] Re: 1.6.2: Issue with enabled_popup.rb

2008-11-12 Thread Bret Pettichord
the solution is to add require 'watir/ie' to your script jpweston wrote: After installing WATIR 1.6.2, scripts that have the following line: require 'watir/contrib/enabled_popup' are causing the following error: c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/

[wtr-general] Re: Need help on installing Rails

2008-11-11 Thread Bret Pettichord
Or you can use Ruby 1.8.6 and Watir 1.6.2. The modal dialog support has been updated to work with Ruby 1.8.6. Alex Collins wrote: For the rails aspect, you should probably search / ask a rails group. However, you should be able to install two versions of ruby - and use a custom PATH

[wtr-general] Re: require firewatir in 1.6.2

2008-11-11 Thread Bret Pettichord
aidy lewis wrote: Do we still need to require 'firewatir' in 1.6.2. Probably not, although it doesn't hurt. And if not shall I 'gem unistall firewatir'? Only if you aren't going to use it. Although again it doesn't hurt to leave it. --~--~-~--~~~---~--~~

[wtr-general] Re: Watir 1.6.2 has been uploaded to Rubyforge

2008-11-10 Thread Bret Pettichord
We run our unit tests on every change. The results are posted here. http://watirbuild.com/ As Marek said, the issue being discussed is about packaging the unit tests, not getting them to pass. Bret Chuck vdL wrote: On Nov 7, 8:43 am, Bret Pettichord [EMAIL PROTECTED] wrote: Comments

[wtr-general] Re: Tutorial Examples now 'missing'

2008-11-10 Thread Bret Pettichord
It is unclear to me what examples you mean. Examples that had been included in the 1.5 source tree were moved to the wiki. http://wiki.openqa.org/display/WTR/Examples Bret Chuck vdL wrote: I think I found them back on the 1.5 branch, but the trunk based links to the Examples folder given

[wtr-general] Re: Tutorial Examples now 'missing'

2008-11-10 Thread Bret Pettichord
http://svn.openqa.org/svn/watir/trunk/watir/examples/ On Nov 10, 7:51 am, Bret Pettichord [EMAIL PROTECTED] wrote: It is unclear to me what examples you mean. Examples that had been included in the 1.5 source tree were moved to the wiki.http://wiki.openqa.org/display/WTR/Examples Bret

[wtr-general] Don't put include Watir at toplevel

2008-11-07 Thread Bret Pettichord
We've been recommending against using include Watir at toplevel for some time. With Watir 1.6, it will break scripts. Details: http://wiki.openqa.org/display/WTR/include+Watir --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[wtr-general] Re: Quick Start, Unit Tests, Server 2003 sp2

2008-11-07 Thread Bret Pettichord
be returning true on success and it's not? On Nov 3, 2:12 pm, Bret Pettichord [EMAIL PROTECTED] wrote: Thanks for the info. [EMAIL PROTECTED] wrote: Hey folks, apologies if this is not be proper venu for this info.. but I'm brand new to Watir and this group. Just starting out

[wtr-general] Re: Watir 1.6.1 is available for testing

2008-11-05 Thread Bret Pettichord
/commonwatir-1.6.1/lib/ watir/browser. rb:65:in `new' from C:/unzipped/watirtest.rb:5 On Nov 5, 3:55 pm, Bret Pettichord [EMAIL PROTECTED] wrote: Great suggestion. Would you mind making this change? Bret --~--~-~--~~~---~--~~ You received

[wtr-general] Re: Watir 1.6.1 is available for testing

2008-11-04 Thread Bret Pettichord
As I just mentioned to Jim, IE is renaming the gems. You need to name them back to their original names. I've updated the notes on the download page. http://wiki.openqa.org/display/WTR/Development+Builds Bret Bret Pettichord wrote: JArkelen wrote: When I use the instructions from

[wtr-general] Re: Watir 1.6.1 is available for testing

2008-11-03 Thread Bret Pettichord
I've been testing with Ruby 186-26. Watir 1.5 also required win32-process (0.5.5). Can you give more information about how you are installing it? The gem installer should be automatically installing this gem. Bret JArkelen wrote: Hi, Which version of Ruby should I install to make Watir

[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 it

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

2008-10-31 Thread Bret Pettichord
the problem is occuring. Bret Bret Pettichord wrote: 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

[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

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

2008-10-31 Thread Bret Pettichord
ideas? Thanks! -Tiffany On Oct 31, 9:42 am, Bret Pettichord [EMAIL PROTECTED] wrote: 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

[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
of my tests on IE without any problems. :) -Tiffany On Oct 31, 1:57 pm, Bret Pettichord [EMAIL PROTECTED] wrote: 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

[wtr-general] Re: IE.new_process does not work correctly with $HIDE_IE

2008-10-30 Thread Bret Pettichord
I spent some time researching this but could not find a fix. Bret Sergio Oliveira wrote: I need to run scripts concurrently, so each one has its own set of cookies, etc. In other words I need isolated sessions so that I can simultaneously log to different gmail accounts for example.

[wtr-general] Re: Problems using visible

2008-10-29 Thread Bret Pettichord
I opened up a ticket with your suggestion. Would you mind updating it with your latest code? http://jira.openqa.org/browse/WTR-262 Tony wrote: Was running the tests for some time .. and suddenly i started getting wrong results for visible. Look like the #{element_object} was returning null

[wtr-general] Re: RubyGem version error | Builder error.

2008-10-28 Thread Bret Pettichord
I have no idea what you are doing when you get this error. Some context would help. You could also try gem install hoe Bret High Bits Perf Tester wrote: When running through the tutorial Im getting this error: C:/Apps/Ruby/lib/ruby/site_ruby/1.8/rubygems.rb:578:in `report_activate_error':

[wtr-general] Re: 'ruby-coding conventions'

2008-10-27 Thread Bret Pettichord
This looks pretty good, although I disagree with a few of the recommendations. http://www.caliban.org/ruby/rubyguide.shtml Bret aidy lewis wrote: Hi, My boss has just asked for a Ruby coding conventions document. I don't know of one; I know there are Ruby idioms outlined in 'The Ruby

[wtr-general] Re: Directory Comparison

2008-10-27 Thread Bret Pettichord
Everyday Scripting With Ruby, by Brian Marick, has a chapter describing, step by step, how to develop a program that compares files in directories. Bret [EMAIL PROTECTED] wrote: All, I am attempting to compare two file directories, both containing .xml files. If a filename is present in

[wtr-general] Re: table row_count incorrect

2008-10-24 Thread Bret Pettichord
I've just added new method Watir::Table#row_count_excluding_nested_tables with this functionality. It will be in Watir 1.6. Bret Moochie wrote: Let's just use this and call it a day. #Get actual row count when enbedded tables exists def get_row_count_minus_enbedded_rows(table)

[wtr-general] Re: click_no_wait doesn't work when called again

2008-10-23 Thread Bret Pettichord
What happens if you change the second call to click_no_wait to call click instead. Do you get an error? What is the error message? Bret babylonrei wrote: 2008/10/22 Bret Pettichord [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] What happens if you add a sleep statement at the location

[wtr-general] Re: How to determine a container type from a variable assignment

2008-10-23 Thread Bret Pettichord
, Thanks for taking time to help me. You were able to descripher my example perfectly and your suggestion works great. I learned a great deal from this example, thanks again for your time. On Oct 23, 12:04 pm, Bret Pettichord [EMAIL PROTECTED] wrote: Thanks for sharing your code. I

[wtr-general] Re: Problems using visible

2008-10-23 Thread Bret Pettichord
This code is IE specific. al3kc wrote: Should this work for FireWatir? I tried to change it for FireWatir::Element but it doesn't work. Željko Filipin [EMAIL PROTECTED] wrote: On Mon, Sep 8, 2008 at 5:48 PM, Bret Pettichord [EMAIL PROTECTED] wrote: I think you need to require

[wtr-general] Re: Google test automation conference

2008-10-22 Thread Bret Pettichord
You have to apply to attend and there are not that many seats available. So most people that want to go, don't tell others to improve their odds of getting chosen. Bret Michael Hwee wrote: Same here. Found out too late. --- On Wed, 10/22/08, Lisa Crispin [EMAIL PROTECTED] wrote:

[wtr-general] Re: How to Speed Up the wat ir ?

2008-10-21 Thread Bret Pettichord
Have you tried :zippy speed? Is this documented somewhere? You should know that there are some significant performance improvements in trunk and will be included in 1.6. Bret bugs apple wrote: Push it forward for you again. And expect your replies. 2008/10/20 bugs apple [EMAIL PROTECTED]

[wtr-general] Re: Date Add or Subtract

2008-10-20 Thread Bret Pettichord
Here is some more cool stuff with dates. C:\watir-console 10.days.ago = Fri Oct 10 21:50:46 +0100 2008 1.month.from_now = Thu Nov 20 21:51:00 + 2008 2.weeks.since Time.local(2008,1,1) = Tue Jan 15 00:00:00 + 2008 Time.now - 1.day = Sun Oct 19 21:52:10 +0100 2008 Time.now +

[wtr-general] Re: Building a gem from trunk / watir-common

2008-10-16 Thread Bret Pettichord
You'll need to gem install hoe before building watir-common. And then you'll need to install it, before installing Watir. Bret Jeff Fry wrote: Corrected below On Wed, Oct 15, 2008 at 10:39 PM, Jeff Fry [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: OK, I'm getting closer - I've

[wtr-general] Re: Any good conferences this year about watir/ruby/rspec?

2008-10-16 Thread Bret Pettichord
I expect to announce an AWTA workshop to be held Jan 16-18 shortly. It will be in Austin and will focus on Watir. http://awta.wikispaces.com/ juuser wrote: Hello. Sorry for this little offtopic question, but I was wondering if anyone happens to know if there's any good conferences coming

[wtr-general] Re: check the pagetext

2008-10-13 Thread Bret Pettichord
Have you looked at browser.text? Personally, I always use this (or the text method on something more specific). I find the pagecontainstext method confusing. Bret bugs apple wrote: Hi, all As we known, pagecontainstext method could check the text that contained current page, including

[wtr-general] Re: ERROR installing watir

2008-10-07 Thread Bret Pettichord
I've found that the gem installer works much better if you do a gem update --system. Unfortunately this can be hard to do also (for the same reasons). On one occassion, I did this update on a machine that did not have connection problems, then I copied the entire ruby directory to my other

<    1   2   3   4