Hi,
answer to your second question is "Yes".
You can pass in a command line argument (example :
pass in the url). ARGV[0]=> argument '1' on command
line, this is JUST after the test name and before you
pass in "-f" for the fast mode or any other watir
parameter.
If you want to keep it optional, t
I have two miscellaneous questions:
1) How can I delete cookies from within watir? I noticed that there is a method
for this in Watir::CookieManager::WatirHelper, but I am really new to Ruby, and
can't figure out the syntax I need to use :-)
2) I would like my watir unit tests to accept an opti
I have some watir tests for my form validation code. Basically, I try entering
some invalid text, submitting, making sure I got an error, etc.
The problem is that I cannot set a text field after the first form submit. When
I try, I get this error:
test_address_validation(LocatorTests):
WIN32OL
I get the following error, if I've an empty table(with
no or tags in it). In this case my table #2
is empty.
I'm using watir 1.4.1. Did someone notice the same
problem? Thanks.
irb(main):069:0> ie.show_tables
Found 19 tables
1 id= rows=1 columns=1
WIN32OLERuntimeError: Unknown property o
You can use something along these lines to load a specifc version of a gem, standard operators apply (>=, <=, etc): require 'rubygems'require_gem 'watir', '= 1.5.1.1079'There's no need to uninstall previous gems if you want to use them.
-CharleyOn 8/31/06, Boyt, Darrel <[EMAIL PROTECTED]> wrote:
Hey Mark, It's good you're trying to track down the error by process of elimination, somehow not something that occurs to a lot of people. It's a bit hard to pin down what's happening remotely without some more information. Try posting your script code and possibly some part of the html.
-Charle
Bret, et
al,
I'm still a neophyte
where Ruby's concerned, so please excuse what may seem to be an obvious
question.
I've followed
the instructions on http://wiki.openqa.org/display/WTR/FAQ#FAQ-devgem to
install the latest from SVN. At the end of the instructions it says I can
uninstal
Here is a curious addition to my previous post. If I put
an “$ie.show_all_objects” at the top of the
test case then all the object on the page are displayed in the output—as expected,
nothing curious here. However, if I move the “$ie.show_all_objects” method to after where
the Non-modal w
I am
getting the following error when I click a ‘Save’ button on a
page. The application has several tabbed pages and on each is the same ‘Save,
Submit, and Clear’ button pattern. The other tab pages click the
save button without error. This error occurs after attaching and closing
a Non
We are using watir in our project, and we want to do the Parameterization for few things in the script using excel sheet, if possible then can anyone share there code or the procedure to how to do the Parameterization using the excel sheet.
Any help would be highly appreciated. http://wiki.rubyga
Title: Parameterization of data in watir.
Hi,
Look at wet the framework for watir. This has got all the options
pertaining to the datatable.
Let me know any issues.
Sanjay kumar Rai wrote:
Hi,
We are using watir in our project, and
we want to do the Parameterization fo
hi aidy,
Watir::Simple has a different philosophy. you cant mix those simple methods
with 'normal' watir scripts because of the missing ie instance you noticed
the correct usage would be some like that:
include Watir::Simple
new_browser_at "someurl" # @@browser will be initialized here
asse
Title: Parameterization of data in watir.
Hi,
We are using watir in our project, and we want to do the Parameterization for few things in the script using excel sheet, if possible then can anyone share there code or the procedure to how to do the Parameterization using the excel sheet.
An
13 matches
Mail list logo