[wtr-general] Re: Closing and opening IE session in watir.

2011-06-15 Thread b...@pettichord.com
I judged tested this and it worked for me. Could you please try again. If you still have a problem, please provide details of what you are seeing. Bret On Jun 9, 6:06 pm, Bhavesh bhavesh1_sha...@yahoo.com wrote: Hi, I tried to log a bug but then it default to Bamboo development if i use this

[wtr-general] Re: Watir Console issues

2010-11-28 Thread b...@pettichord.com
I will maintain this. Could you please open up a Jira ticket with details. You can assign it to me. Bret On Nov 27, 1:22 pm, Alan Baird aba...@bairdsnet.net wrote: Enriquem - A very simple/hacky fix is to remove -r watir/irb-history from the last line (line 7) of watir-console.  This will

[wtr-general] Re: require watir is not recognized on a vmware - I found the sollution

2010-05-11 Thread b...@pettichord.com
To avoid this probem, some people like to add require 'rubygems' as the first require statement in their scripts. On May 10, 2:57 pm, Cristina cristina.toro...@gmail.com wrote: Thanks! It looks like the problem is that is mandatory to add the system variable RUBYOPT=rubygems. Cristina On

[wtr-general] Re: [Wtr-development] Vapir

2010-05-11 Thread b...@pettichord.com
On May 8, 8:12 am, Jarmo Pertman jarm...@gmail.com wrote: Maybe this is a completely different problem? Maybe we should ask, what is the main reasons why classes get extended or monkey-patched. Maybe there even isn't so many users who have been doing that or do we know that for certain that

[wtr-general] Re: [Wtr-development] Vapir

2010-05-11 Thread b...@pettichord.com
On May 8, 8:12 am, Jarmo Pertman jarm...@gmail.com wrote: Maybe this is a completely different problem? Maybe we should ask, what is the main reasons why classes get extended or monkey-patched. Maybe there even isn't so many users who have been doing that or do we know that for certain that

[wtr-general] Re: [Wtr-development] Vapir

2010-05-07 Thread b...@pettichord.com
The biggest change in Vapir is that class names have been systematically changed. We've been reluctant to make these changes in Watir because it would lead to a lot of compatibility problems for people who have extended the existing Watir classes. I'm happy to reconsider if there really is a

[wtr-general] Re: require ‘watir’ command shows error from Interactive Ruby Shell (IRB)

2009-12-09 Thread b...@pettichord.com
We are looking into getting a new version of user-choices released. Bret On Dec 7, 10:07 am, Alvin Bunk alvinb...@yahoo.com wrote: I noticed there is a problem issuing the command “require ‘watir’” form the Interactive Ruby Shell. The error is described here: (http://

[wtr-general] Re: better way to do a conditional require

2009-12-08 Thread b...@pettichord.com
require 'watir/contrib/visible' rescue nil On Dec 7, 5:12 pm, Bill Agee billa...@gmail.com wrote: You might be able to use Watir::IE::VERSION: require 'watir' require 'watir/contrib/visible' if Watir::IE::VERSION != '1.6.5' But I guess that will only work so long as nothing newer than 1.6.5

[wtr-general] Re: Browser window close and Javascript popup problem on Watir 1.6.5/Ruby 1.8.6-26

2009-12-02 Thread b...@pettichord.com
One thing you might try, in order to track things down, would be to try running your tests with with Watir 1.6.2. If you do this, you should manually install firewatir 1.6.2 also (gem install firewatir -v 1.6.2). And then uninstall any newer watir gems (if any). Bret On Dec 1, 2:41 pm, DerekW

[wtr-general] Re: Rescue

2009-12-02 Thread b...@pettichord.com
Another solution would be to use tbl = ie.frame(:id,'ReportFramectl144').frame(:id,'report').table (:class, /a3/) This should cover both cases. On Dec 1, 10:24 am, Steve Hamlett shaml...@twia.org wrote: I'm using Watir to automate the testing of a report generated by MS SQL Reporting

[wtr-general] Re: using rspec -b (backtrace) option makes watir run in an invisible window

2009-12-02 Thread b...@pettichord.com
Watir also has a -b option, which does what you are seeing. You can use rspec's --backtrace option to avoid this behavior. On Dec 2, 11:52 am, jw joshuawal...@gmail.com wrote: Is this intended behavior?  The window is invisible, when I look in Process explorer and try to bring IE's window to

[wtr-general] Re: Trouble installing Watir on a Closed Network

2009-11-29 Thread b...@pettichord.com
Quick tip for all. If you need to download gems so that you can install them on a system not connected to an internet, you can use the gem fetch command, then you can install the gems locally. This command works for all gems, not just watir gems. Bret On Nov 27, 4:09 am, Željko Filipin

[wtr-general] Re: Running Test::Unit in background gives invalid option: -b

2009-11-29 Thread b...@pettichord.com
You need to make it an untouched argument. Thus: suite.rb -- -b On Nov 27, 4:54 am, pallavi shashidhar pals.sha...@gmail.com wrote: Hi, Watir environment - Watir 1.6.5, Ruby 1.8.6.26. I have 2 scripts. 1) simple watir script without using Test::Unit framework 2) and another using Test::Unit

[wtr-general] Re: install for 1.6.2 doesn't work after 1.6.5 release

2009-11-25 Thread b...@pettichord.com
I've opened up a ticket for this problem: http://jira.openqa.org/browse/WTR-409 If this issue is of interest to you, please watch and/or vote and/or comment on the ticket. I worked on this today and ran into some complications. Please see the ticket for more information. (I'm generally trying

[wtr-general] Re: Where to download gem watir 1.5.1.1100 ?

2009-11-24 Thread b...@pettichord.com
This will be hard to build. We've updated our build instructions to match the current code in developement. Back then we were using SVN and I think you would need to pull from our old SVN repository on OpenQA to build this. The 1100 was the SVN revision number of the source it was built from.

[wtr-general] Re: Delete cookies in Firewatir

2009-11-19 Thread b...@pettichord.com
I suggest that this conversation move to the watir-development list. We need need to ensure that Jari and the developers for other Watir implementations are in the loop, and I'm not sure that they watch everything here. Bret On Nov 19, 6:11 am, Tony ynot...@gmail.com wrote: Hi Aidy, Could

[wtr-general] Re: Answering incomplete requests

2009-11-02 Thread b...@pettichord.com
zeljko.fili...@wa-research.ch wrote: On Fri, Oct 30, 2009 at 8:28 PM, Bret Pettichord b...@pettichord.com wrote: Good suggestion. I just set up a login for that site and will start spending more time there. Since three of four* top posters to this group (http://groups.google.com/group/watir

[wtr-general] Grace counts

2009-10-05 Thread b...@pettichord.com
If you are here asking for people to help you with a problem, please take the time and effort to let others know that appreciate their help and don't take it for granted. Sometimes I see posts that say urgent help needed or help needed asap, and this tone usually puts me in a mindset not to

[wtr-general] Testing Email

2009-08-07 Thread b...@pettichord.com
Hi there. I've been away for a while, but am now back. I would like to automate email testing. Mainly make sure the right emails were sent. I guess what I want is to set up an email server in our lab, configure our app to send emails to it, and then my scripts can access it to make sure that