Hi,
i have a strange problem:
i have a file.txt with urls line by line.
require 'rubygems'
require firewatir
ElementCollections.send(:include, Enumerable)
#include the FireWatir Module.
include FireWatir
# open the FF browser
ff=Firefox.new
File.open(file.txt).each { |link|
ff.goto(link)
}
Thank you John.
It works well. I think i have to learn ruby...
Alexandre
--~--~-~--~~~---~--~~
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
I have the same problem: I have 2 vmware images with the exact same
setup. I try to run this test:
require 'rubygems'
require 'watir'
Watir.options_file = 'c:\\temp\\options.yml'
browser = Watir::Browser.new
browser.goto http://www.cnn.com;
browser.close
It works on one image, the other image
Hi,
I am having following undefined method link for nil:NilClass error.
here is my code
require test/unit
require Watir
require rubygems
class MyTest Test::Unit::TestCase
browser=Watir::IE.start(link_name)
def test_Updateyourinformation
@browser.link(:href,
I solved the problem by doing a gem uninstall win32-api first, and
then to install it again with gem install win32-api.
What I noticed was that there were 2 versions of win32-api installed.
I removed them both.
On Feb 27, 1:32 pm, JArkelen johnvanarke...@gmail.com wrote:
I have the same
Actually Dan, I'd like to thank you for the work you, Park and others have
done on win32-utils and other projects (rubygems) to help make sure that
Windows *is* well represented in Ruby. Obviously several of the gems in
win32-utils have provided the Watir community with functionality we wouldn't
#0|0|0|3# - #0|0|1|3
excel_value.to_s.slice(/#.*#/)
Gives me this
#0|0|0|3# - #0|0|1|3
how do I get rid of the -?
I've tried and a few others
puts excel_value.to_s.slice(/#.*|.*|.*|.*#/)
Gives me this
#0|0|0|3# - #0|0|1|3
I'm trying to include the '|' bars in the slice
Thanks
On Feb
to be?
__ Information from ESET NOD32 Antivirus, version of virus signature
database 3894 (20090227) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
NOD32 Antivirus, version of virus
signature
database 3894 (20090227) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General
to include the '|' bars in the slice
Thanks
What do you want the result to be?
__ Information from ESET NOD32 Antivirus, version of virus
signature
database 3894 (20090227) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
see this page for more details on ways to set or change the default
browser http://wiki.openqa.org/display/WTR/Browser.new
On Feb 27, 7:56 am, George george.sand...@gmail.com wrote:
This seems to work for me:
require 'watir'
Watir::Browser.default = 'firefox'
$browser =
I'm having a similar issue, I'm pretty sure it's scope related, but I
can't wrap my head around what I need to do to fix it. My longterm
intent is to move a bunch of frequently called methods, such as
logging in a user, off into a seperate file (or module?) but my first
attempt at this is
this might seem a bit harsh, but it seems to me (to mangle a metaphor)
you are telling us that you are trying to learn how to fish, but then
asking us to give you fish directly, instead of perhaps say asking for
help with baiting the hook.
Why don't you tell us what you've tried in terms of
13 matches
Mail list logo