[wtr-general] Way to clear the browser cache?

2010-08-07 Thread Jeff Fry
Hey y'all, does watir have a way to clear the browser cache? Either
cross-browser, or specific to a given browser?

Thanks,

-- 
Jeff Fry

http://testingjeff.wordpress.com
http://associationforsoftwaretesting.org

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] Navigating to parent

2009-10-29 Thread Jeff Fry
Hey all,
Remind me, is there a way in watir to navigate to the parent of an element?
I'm thinking of something like:

#find text_field where value matches /foo/, go up to the tr that
contains it, and then within that tr click on the first li
browser.text_field(:value = /foo/).row(:parent).li(:index = 1).click

I made up the .row(:parent) syntax in the above example. I'm just wondering
if there's real syntax to do the same thing...or if this is more of a
feature request?

Cheers,

-- 
Jeff Fry

http://testingjeff.wordpress.com
http://associationforsoftwaretesting.org

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: What editor should I use for mac?

2009-04-22 Thread Jeff Fry
There isn't a separate ruby version of Eclipse, though you'll want to
install the ruby plug-in. See the Watir wiki page on Eclipse:
http://wiki.openqa.org/display/WTR/Setting+up+Eclipse+for+Ruby

On Wed, Apr 22, 2009 at 8:32 AM, Hassan Malik hassanm_...@yahoo.com wrote:

 I am curently SciTe on windows and wold like to try Eclipse. Does it matter
 what version I use? They have Eclipse IDE for Java, C/C++, but I don't see
 one for ruby. http://www.eclipse.org/downloads/



  --
 *From:* Lisa Crispin lisa.cris...@gmail.com
 *To:* watir-general@googlegroups.com
 *Sent:* Tuesday, April 21, 2009 5:26:31 PM
 *Subject:* [wtr-general] Re: What editor should I use for mac?

 I confess I don't use Watir much on my mac yet - it's on my list to someday
 get the scripts running in Firewatir. But I just use Eclipse to edit my
 Watir scripts on either box. Works well.
 -- Lisa

 On Tue, Apr 21, 2009 at 3:14 PM, Moochie dduph...@redbrickhealth.comwrote:


 I was just give a mac and I've attempted to get watir working on it,
 but it said I couldn't save a file as .rb I could only save it
 as .rtb.

 Also, should I install ubuntu?




 --
 Lisa Crispin
 Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers
 and Agile Teams_ (Addison-Wesley 2009)
 http://lisacrispin.com



 



-- 
Jeff Fry

http://testingjeff.wordpress.com
http://associationforsoftwaretesting.org

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Test Automation? Pashaw!

2009-04-06 Thread Jeff Fry

This conversation tends to be quite unproductive when it becomes is
or isn't test automation useful. It's a lot like Are books useful?
Books won't solve any problems on their own. There are plenty of
problems that books will not help with a bit. There are /some/
problems where /the right/ books /well applied/ might add tremendous
value.

Similarly with testing, I like to look at what are the problems that
need to be solved. Then I like to think about each of them, and
consider solutions. Is one of your problems basic functionality
breaking when code is changed? Unit tests /might/ be a great solution
to your problem. Do you suspect intermittent production failures are
the result of concurrency issues? Likewise, computer-assisted tests
might be your best bet in reproducing the problem in house.

I think discussing the relative costs/benefits of automated
browser-based regression testing is a good idea, and getting real
experience reports helps a lot. Even within this specific area, there
may be some problems that're helped through automated browser-based
tests and others where the cost is too high.

By the way, I wrote a bit about some of the most compelling cases
where I've used watir over the past five years here:
http://testingjeff.wordpress.com/2008/04/15/why-do-you-use-watir/

Getting time added into the schedule for test automation is a
different question, but one that /might/ become easier if you're able
to focus the conversation around solutions to particular problems.

Cheers,
Jeff


On Sat, Apr 4, 2009 at 11:14 AM, George george.sand...@gmail.com wrote:

 It seems that I've been encountering more people within my workplace
 (and, alas, even within my own QA team!) that are not sold on test
 automation. From what I've learned so far, there seems that automation
 will never cover 100% of what needs to be tested, but this doesn't
 negate the need.

 Another frustration is that I've been tasked to write automation
 scripts as part of my year-end goals. However, I haven't been assigned
 hours in my work week to do them! All of my script development has
 been after-hours and weekends (notice I'm posting this on a
 Saturday!).

 Has anyone else run into naysayers?  How can I convince the decision-
 makers that this is a worthwhile effort?
 




-- 
Jeff Fry

http://testingjeff.wordpress.com
http://associationforsoftwaretesting.org

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] msvcr80-ruby18.dll was not found error troubles

2009-02-20 Thread Jeff Fry
I've seen the earlier thread on this that suggested it was happening to
folks who were running Visual Studio. I'm not.

I'm running ruby 1.8.5 on WinXP. I had just updated watir from 1.5.6 to
1.6.2. I saw Bret's post about the win32-api gem and so un-and-reinstalled
that as well. At this point, after some conversation with Charley off list,
I have uninstalled:
win32-api
win32-clipboard
win-32-process
windows-api
windows-pr

and then reinstalled, so that my current list of local gems is:
activesupport (2.1.1, 2.1.0)
builder (2.1.2)
commonwatir (1.6.2)
firewatir (1.1.1, 1.1)
fxri (0.3.6)
fxruby (1.6.6)
hoe (1.8.2, 1.8.0)
hpricot (0.4)
log4r (1.0.5)
rake (0.8.3, 0.7.2, 0.7.1)
rubyforge (1.0.2, 1.0.1, 1.0.0)
rubygems-update (1.3.1, 1.1.1)
s4t-utils (1.0.4)
sources (0.0.1)
tzinfo (0.3.5)
user-choices (1.1.6)
watir (1.6.2, 1.5.6)
win32-api (1.4.0)
win32-clipboard (0.4.4)
win32-dir (0.3.1)
win32-eventlog (0.4.3)
win32-file (0.5.3)
win32-file-stat (1.2.3)
win32-process (0.6.0)
win32-sapi (0.1.3)
win32-sound (0.4.0)
windows-api (0.3.0)
windows-pr (1.0.1)
xml-simple (1.0.11)

...but so far no dice. If I try:
irb(main):001:0 require 'watir'
= true
irb(main):002:0 Watir::IE::BROWSER

I get:

LoadError: 126: The specified module could not be found.   -
c:/ruby/lib/ruby/ge
ms/1.8/gems/win32-api-1.4.0-x86-mswin32-80/lib/win32/api.so
from
c:/ruby/lib/ruby/gems/1.8/gems/win32-api-1.4.0-x86-mswin32-80/lib/win32/api.so
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from
c:/ruby/lib/ruby/gems/1.8/gems/windows-api-0.3.0/lib/windows/api.rb:1
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from
c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-1.0.1/lib/windows/error.rb:12
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from
c:/ruby/lib/ruby/gems/1.8/gems/win32-process-0.6.0/lib/win32/process.rb:1
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-process.rb:1
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb:45
from (irb):2

The first time pops up the error: This application has failed to start
because msvcr80-ruby18.dll was not found. Re-installing the application may
fix this problem If I try the same exact thing again, this time I just get:

irb(main):003:0 Watir::IE::BROWSER
NameError: uninitialized constant Watir::IE::BROWSER
from (irb):3

I'm pretty stumped at debugging this, though considering just uninstalling
ruby and then starting over with 1.8.6. Any suggestions are welcome, I'm
excited to try out the latest and greatest FireWatir integration!

Thanks,

-- 
Jeff Fry

http://testingjeff.wordpress.com
http://associationforsoftwaretesting.org

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: msvcr80-ruby18.dll was not found error troubles

2009-02-20 Thread Jeff Fry
Al: Yeah, I was referencing that thread above. It pointed toward Visual
Studio, which I don't have. Charley theorized off list that one of the gems
on my system might have been compiled using Visual Studio.
Bret: Doh. Typo, but the first error (msvcr80-ruby18.dll was not found) was
occuring when I did anything watir-related, including valid things like
running tests that used to work or doing

irb(main):002:0 Watir::IE::VERSION

That said, I just uninstalled and reinstalled ruby 1.8.5  1.8.6, and then
reinstalled watir...and all seems to be working for me now.

Thanks!
Jeff

On Fri, Feb 20, 2009 at 6:10 PM, Bret Pettichord b...@pettichord.comwrote:


 Jeff Fry wrote:
 
  irb(main):003:0 Watir::IE::BROWSER
  NameError: uninitialized constant Watir::IE::BROWSER
  from (irb):3
 This is correct, and what I get too.

 There is no such thing as Watir::IE:BROWSER.

 Bret



 



-- 
Jeff Fry

http://testingjeff.wordpress.com
http://associationforsoftwaretesting.org

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Free Git and GitHub Course

2009-02-12 Thread Jeff Fry
Al and Marekj, thanks for the links!

On Thu, Feb 12, 2009 at 1:01 PM, marekj marekj@gmail.com wrote:


 I updated 2 concepts in the latest intro slides.
 1) git config and autocrlf
 - point to path/to/etc/gitconfig as the global and the defualt
 autocrlf = true setting
 - point to ~/.gitconfig as a 'user config file' (no need to set
 autocrlf there unless you need = input setting or = false for stroing
 CRLF in repo)

 2) extra info on setting git prompt with branch names displaying:
 Slide 27 xplains.

 that's it.

 marekj

 Watirloo: Semantic Page Objects in UseCases
 Human Readable Machine Executable Acceptance Testing
 http://github.com/marekj/watirloo/




 On Thu, Feb 12, 2009 at 2:47 PM, marekj marekj@gmail.com wrote:
  Hi All,
  If you are interested about starting with Git and you are on Windows
  go look at the slides I made
  Git For Windows, Plain Introduciton for Testers (yes, helping testers
  adopt Watir)
  It covers installation of msysgit and some beginning config setup and
 concepts
 
  http://www.slideshare.net/testrus/git-on-windows-plain-introduction
 
  marekj
 
  Watirloo: Semantic Page Objects in UseCases
  Human Readable Machine Executable Acceptance Testing
  http://github.com/marekj/watirloo/
 
 
 
 
  On Thu, Feb 12, 2009 at 8:34 AM, Al Snow jasn...@gmail.com wrote:
 
  Since Watir and SafariWatir have moved to GitHub, I wanted to
  share this information about a free course (Git and GitHub):
  It happens between Feb 21 and 27.
 
  http://rubylearning.com/blog/2009/02/10/git-and-github-a-free-course/
 
  FYI,
  Al Snow
 
  
 
 

 



-- 
Jeff Fry

http://testingjeff.wordpress.com
http://associationforsoftwaretesting.org

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



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

2008-10-19 Thread Jeff Fry
Hey Bret, 'gem install hoe' worked just fine
C:\dev\watirgem install hoe
Bulk updating Gem source index for: http://gems.rubyforge.org/
Successfully installed rubyforge-1.0.0
Successfully installed rake-0.8.3
Successfully installed hoe-1.8.0

But building watir-common failed again - couldn't find HOME:
C:\dev\watir-commonrake gem --trace
(in C:/dev/watir-common)
rake aborted!
couldn't find HOME environment -- expanding `~/.hoerc'
c:/ruby/lib/ruby/gems/1.8/gems/hoe-1.8.0/lib/hoe.rb:435:in `expand_path'
c:/ruby/lib/ruby/gems/1.8/gems/hoe-1.8.0/lib/hoe.rb:435:in `with_config'
c:/ruby/lib/ruby/gems/1.8/gems/hoe-1.8.0/lib/hoe.rb:472:in `define_tasks'
c:/ruby/lib/ruby/gems/1.8/gems/hoe-1.8.0/lib/hoe.rb:426:in `initialize'
C:/dev/watir-common/rakefile:5:in `new'
C:/dev/watir-common/rakefile:5
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in `load'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in
`raw_load_rakefile
'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in
`load_rakefile'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in
`standard_exceptio
n_handling'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in
`load_rakefile'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in
`standard_exceptio
n_handling'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31
c:/ruby/bin/rake:19:in `load'
c:/ruby/bin/rake:19

Any ideas what I'm missing now?

Thanks again for all this help. Once this is complete, I'll happily add what
worked for me to the wiki.

Jeff

On Thu, Oct 16, 2008 at 7:40 AM, Bret Pettichord [EMAIL PROTECTED]wrote:


 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 checked out from 1 level up and so
  now have watir-common. I just
 
 
  I created a gem  #this is what I meant to paste here:
  C:\dev\watirgem build watir.gemspec
Successfully built RubyGem
Name: watir
Version: 1.5.6
File: watir-1.5.6.gem
 
 
  ...and then tried the following:
 
  C:\dev\watir-commonrake gem
  (in C:/dev/watir-common)
  rake aborted!
  no such file to load -- hoe
  C:/dev/watir-common/rakefile:2
  (See full trace by running task with --trace)
 
  I tried the same thing in /watir, which succeeded...
 
 
  C:\dev\watirrake gem
  (in C:/dev/watir)
  mkdir -p pkg
Successfully built RubyGem
Name: watir
Version: 1.5.6
File: watir-1.5.6.gem
  mv watir-1.5.6.gem pkg/watir-1.5.6.gem
 
  ...but still doesn't get watir to build for me:
 
 
  C:\dev\watir\pkggem install watir-1.5.6.gem --local
  ERROR:  Error installing watir-1.5.6.gem:
  watir requires watir-common (= 0)
 
  Bret or others, can you help me find the error of my ways?
 
  I'll be happy to get this onto the wiki in greater detail.
 
  Thanks,
  Jeff
 
 
 
  On Tue, Oct 14, 2008 at 12:08 AM, Jeff Fry [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  From IRC:
 
  [23:02]   jfry  Hey there, have any of you built a gem
  locally from the watir trunk?
  [23:02]   jfry  I've done it successfully a long time back,
 I
  think.
  [23:02]   jfry  Just tried now and got:
  [23:02]   jfry  ERROR: Error installing watir-1.5.6.gem:
  [23:02]   jfry  watir requires watir-common (= 0)
  [23:02]   jfry  Does that mean anything to you?
  [23:07]   pettichordhi there
  [23:08]   pettichordyou'll also need to build the
  watir-common gem
  [23:08]   pettichordrake gem in the watir-common
 directory
 
 
  I've searched for a directory called common or watir-common
  and came up blank. I also tried:
  C:\dev\watirrake gem
  ...Which created a pkg directory, containing
  10/13/2008  11:12 PM   254,464 watir-1.5.6.gem
 
  ...but clearly I'm missing something because both of the
  following still fail for me:
 
  C:\dev\watir\pkggem install watir-1.5.6.gem
  Bulk updating Gem source index for: http://gems.rubyforge.org/
  ERROR:  Error installing watir-1.5.6.gem:
  watir requires watir-common (= 0)
 
  C:\dev\watir\pkggem install watir-1.5.6.gem --local
  ERROR:  Error installing watir-1.5.6.gem:
  watir requires watir-common (= 0)
 
  What am I missing?
 
  Thanks,
 
  --
  Jeff Fry
 
  http://testingjeff.wordpress.com
  http

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

2008-10-15 Thread Jeff Fry
OK, I'm getting closer - I've checked out from 1 level up and so now have
watir-common. I just


I created a gem

C:\dev\watirgem install watir-1.5.6.gem --local
ERROR:  Error installing watir-1.5.6.gem:
watir requires watir-common (= 0)

...and then tried the following:

C:\dev\watir-commonrake gem
(in C:/dev/watir-common)
rake aborted!
no such file to load -- hoe
C:/dev/watir-common/rakefile:2
(See full trace by running task with --trace)

I tried the same thing in /watir, which succeeded...

C:\dev\watirrake gem
(in C:/dev/watir)
mkdir -p pkg
  Successfully built RubyGem
  Name: watir
  Version: 1.5.6
  File: watir-1.5.6.gem
mv watir-1.5.6.gem pkg/watir-1.5.6.gem

...but still doesn't get watir to build for me:

C:\dev\watir\pkggem install watir-1.5.6.gem --local
ERROR:  Error installing watir-1.5.6.gem:
watir requires watir-common (= 0)

Bret or others, can you help me find the error of my ways?

I'll be happy to get this onto the wiki in greater detail.

Thanks,
Jeff


On Tue, Oct 14, 2008 at 12:08 AM, Jeff Fry [EMAIL PROTECTED] wrote:

 From IRC:

 [23:02]jfry Hey there, have any of you built a gem locally from the
 watir trunk?[23:02]jfry I've done it successfully a long time back, I
 think.[23:02]jfry Just tried now and got:[23:02]jfry ERROR: Error
 installing watir-1.5.6.gem:[23:02]jfry watir requires watir-common (=
 0)[23:02]jfry Does that mean anything to you?[23:07]pettichord hi
 there[23:08]pettichord you'll also need to build the watir-common gem
 [23:08]pettichord rake gem in the watir-common directory
 I've searched for a directory called common or watir-common and came up
 blank. I also tried:
 C:\dev\watirrake gem
 ...Which created a pkg directory, containing
 10/13/2008  11:12 PM   254,464 watir-1.5.6.gem

 ...but clearly I'm missing something because both of the following still
 fail for me:

 C:\dev\watir\pkggem install watir-1.5.6.gem
 Bulk updating Gem source index for: http://gems.rubyforge.org/
 ERROR:  Error installing watir-1.5.6.gem:
 watir requires watir-common (= 0)

 C:\dev\watir\pkggem install watir-1.5.6.gem --local
 ERROR:  Error installing watir-1.5.6.gem:
 watir requires watir-common (= 0)

 What am I missing?

 Thanks,

 --
 Jeff Fry

 http://testingjeff.wordpress.com
 http://associationforsoftwaretesting.org




-- 
Jeff Fry

http://testingjeff.wordpress.com
http://associationforsoftwaretesting.org

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



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

2008-10-15 Thread Jeff Fry
Corrected below

On Wed, Oct 15, 2008 at 10:39 PM, Jeff Fry [EMAIL PROTECTED] wrote:

 OK, I'm getting closer - I've checked out from 1 level up and so now have
 watir-common. I just


 I created a gem  #this is what I meant to paste here:
 C:\dev\watirgem build watir.gemspec
   Successfully built RubyGem
   Name: watir
   Version: 1.5.6
   File: watir-1.5.6.gem

 ...and then tried the following:

 C:\dev\watir-commonrake gem
 (in C:/dev/watir-common)
 rake aborted!
 no such file to load -- hoe
 C:/dev/watir-common/rakefile:2
 (See full trace by running task with --trace)

 I tried the same thing in /watir, which succeeded...

 C:\dev\watirrake gem
 (in C:/dev/watir)
 mkdir -p pkg
   Successfully built RubyGem
   Name: watir
   Version: 1.5.6
   File: watir-1.5.6.gem
 mv watir-1.5.6.gem pkg/watir-1.5.6.gem

 ...but still doesn't get watir to build for me:

 C:\dev\watir\pkggem install watir-1.5.6.gem --local
 ERROR:  Error installing watir-1.5.6.gem:
 watir requires watir-common (= 0)

 Bret or others, can you help me find the error of my ways?

 I'll be happy to get this onto the wiki in greater detail.

 Thanks,
 Jeff



 On Tue, Oct 14, 2008 at 12:08 AM, Jeff Fry [EMAIL PROTECTED] wrote:

 From IRC:

 [23:02]jfry Hey there, have any of you built a gem locally from the
 watir trunk?[23:02]jfry I've done it successfully a long time back, I
 think.[23:02]jfry Just tried now and got:[23:02]jfry ERROR: Error
 installing watir-1.5.6.gem:[23:02]jfry watir requires watir-common (=
 0)[23:02]jfry Does that mean anything to you?[23:07]pettichord hi
 there[23:08]pettichord you'll also need to build the watir-common gem
 [23:08]pettichord rake gem in the watir-common directory
 I've searched for a directory called common or watir-common and came up
 blank. I also tried:
 C:\dev\watirrake gem
 ...Which created a pkg directory, containing
 10/13/2008  11:12 PM   254,464 watir-1.5.6.gem

 ...but clearly I'm missing something because both of the following still
 fail for me:

 C:\dev\watir\pkggem install watir-1.5.6.gem
 Bulk updating Gem source index for: http://gems.rubyforge.org/
 ERROR:  Error installing watir-1.5.6.gem:
 watir requires watir-common (= 0)

 C:\dev\watir\pkggem install watir-1.5.6.gem --local
 ERROR:  Error installing watir-1.5.6.gem:
 watir requires watir-common (= 0)

 What am I missing?

 Thanks,

 --
 Jeff Fry

 http://testingjeff.wordpress.com
 http://associationforsoftwaretesting.org




 --
 Jeff Fry

 http://testingjeff.wordpress.com
 http://associationforsoftwaretesting.org




-- 
Jeff Fry

http://testingjeff.wordpress.com
http://associationforsoftwaretesting.org

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Selecting a nested element

2008-10-13 Thread Jeff Fry
Thanks for the help! That's exactly what I needed.

On Sun, Oct 12, 2008 at 11:07 PM, wesley chen [EMAIL PROTECTED] wrote:

 br.div(:xpath, //[EMAIL PROTECTED]'Deceased Person']/).flash

 



-- 
Jeff Fry

http://testingjeff.wordpress.com
http://associationforsoftwaretesting.org

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---