Hi
If u want only the row count of partiular table without nested ones just use
the below function at the starting of script and then use the normal syntax
ie.table(:id, Table5).row_count().u will get the row count of particular
table
Here is the basic idea of what I am trying to do...
I have one site, lets call it www.example.com. On that site, there is a login
page which directs to four different regions, say region1.example.com,
region2.example.com, etc.
Now, on the other side of the equation, watir is being run from a
Thanks kumari... It Really Helped Me Out...
But I just Copied It.. :P Can You Pls Explain The Function A little Bit More...
Thanks A Lot... :)
And By The Way Is There Any Way To Check If A Row Inside A Table Exists Or
Not... ?
___
Wtr-general
Without seeing more of the code, I'm pretty sure you need to start by moving
away from using Global variables.
On 06/06/07, eisdrache [EMAIL PROTECTED] wrote:
Here is the basic idea of what I am trying to do...
I have one site, lets call it www.example.com. On that site, there is a
login
i have a scientific calculator made in java in a html;
how do i test the buttons? when i want to press 5 it runs a javascript
function digit(5)
how do i call that function in watir?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Some html would help.
Zeljko
--
ZeljkoFilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
this is the page i want to test:
[http://www.squarebox.co.uk/scalc.html|http://www.squarebox.co.uk/scalc.html]
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi,
I am fairly new to Watir. I had been working with Watir 1.4.1 and I just
installed the latest Watir 1.5 gem.
When I had Watir 1.4.1 installed, I was able to catch the
Watir::Exception::NavigationException
when I tried to goto a webpage that did not exist. It seems that 1.5 is not
this was removed from 1.5 because for a few people it was annoying.
doing this may fix it
require 'watir/contrib/page_checker'
ie = Watir::IE.start( 'www.page.com')
ie.add_checker(PageCheckers::NAVIGATION_CHECKER)
Paul
- Original Message -
From: Titani [EMAIL PROTECTED]
To:
Hello people,
I have got a script that creates an 'excel_file' while running. After running,
I want to rename it so that next time, when the script is run, it will create
the excel file anew. Can I do that? I tried a few DOS commands but I could
find only two DOS commands working in Watir.
You should be able to use:
File.rename(afile, afile.bak)
This is listed in the Pragmatic Programmer's (free) Guide to Ruby:
http://www.rubycentral.com/book/ref_c_file.html
So you'd just do a little:
if File.exists?(test.xls)
File.rename(test.xls, old_test.xls)
else...
end...
I have got a script that creates an 'excel_file' while running. After
running, I want to rename it so that next time, when the script is run, it
will create the excel file anew. Can I do that? I tried a few DOS commands
but I could find only two DOS commands working in Watir. They are
Thank You,
here is my final basic piece working with your help:
**
require 'watir'
require rexml/document
include Watir
include REXML
test_site = 'http://...site=xml'
ie = IE.new
ie.goto(test_site)
xml_data =
On 6/6/07, Lana [EMAIL PROTECTED] wrote:
Thank You,
here is my final basic piece working with your help:
You're welcome, I'm glad you got it to go!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Thank you areed for your answer. That was what I needed. It is working
perfectly. Also, cmcmahon, I would definitely try to read the 'Ruby Language
Help' file.
Thanks,
Vijay.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Hello,
I'm trying to manipulate modal_dialog and I have an issue.
In Watir (Ruby) code, I create two threads. One is to load the target page and
click on a button. The button in the target page has onclick event handler that
executes JavaScript to show modal popup. The other thread in Ruby
mihai wrote:
this is the page i want to test:
[http://www.squarebox.co.uk/scalc.html|http://www.squarebox.co.uk/scalc.html]
This should work.
ie.area(:href, /digit\(4\)/).click
For accessing the operators you will have to change the regexp and you
are done.
Question to the list:
On
17 matches
Mail list logo