variable = ie.table(index,1).row_values(1)
puts variable
the above syntax returns the values in the row number '1'
similarly we can also get the values of column.
To get the particular value in a cell
table = ie.table(:index,1)
variable = table[1][1].to_s
The above variable gives the cell value
Hi
i think this will work
$ie.frame(:index,2).image(:src,/newRecord.gif/).click
try this with button also as image.sometimes may not work where button will
work
$ie.frame(:index,2).button(:alt,/New WorkOrder/).click
bye
___
Wtr-general mailing list
Hi,
I think this [ie.link(:href, /id=1274/).click] will help me out but I have
another question for this as the id created is dynamic it keep changing for
every new transaction. So I need to make transaction and navigate to message
page click on the Bill Payment Inquiry link based on the
On 6/5/07, chitta [EMAIL PROTECTED] wrote:
I really need more then 50 active email addresses for my testing purpose
I use my gmail account for testing also. You do not need 50 accounts. Gmail
allows you to add +some_text after you user name and before @gmail.com.
Like this.
[EMAIL
On 6/5/07, Harmeet [EMAIL PROTECTED] wrote:
How can I post the HTML code here in this message
Just paste it, it usually works.
Zeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
I use my gmail account for testing also. You do not need 50 accounts. Gmail
allows you to add +some_text after you user name and before @gmail.com.
Like this.
http://rubyforge.org/mailman/listinfo/wtr-general username+account1 at
gmail.com
http://rubyforge.org/mailman/listinfo/wtr-general
yes it worked as a button. Although i am surprised why image worked as button.
thanks for the help!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
A new gem is ready for download, this is the latest pull from Subversion
source, tagged at 1.5.1.1192. This gem has a new install process, due to a new
dependency on other gems.
After download the gem, execute the following commands in the same directory as
the gem:
gem install win32-process
imran wrote:
But still the code asking me to upgrade to 1.5.1.1100.
What message are you seeing? What is the exact language?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
jim_matt wrote:
So far, all my scripts are working without a problem.
Thanks for the report.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
How would you approach verification of data in *xml* format with Watir through
the browser?
data example: _http://www.live365.com/stations/easytempo?site=xml_
is there some XMLParser available?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
On 6/5/07, Lana [EMAIL PROTECTED] wrote:
How would you approach verification of data in *xml* format with Watir
through the browser?
data example: _http://www.live365.com/stations/easytempo?site=xml_
is there some XMLParser available?
My understanding is that REXML is pretty much the
Thank you for right direction, this helped me to get started:
-
#includes
require 'watir'
require rexml/document
include Watir
include REXML
doc = Document.new File.new(station.xml)
root = doc.root
puts
you may want to look at xml unit - http://xmlunit.sourceforge.net/
- Original Message -
From: Lana [EMAIL PROTECTED]
To: wtr-general@rubyforge.org
Sent: Tuesday, June 05, 2007 7:13 PM
Subject: Re: [Wtr-general] How would you approach verification of data in
*xml* format with Watir?
It's been a while since I've mucked around with REXML, but this works:
#
require rexml/document
include REXML
xml = REXML::Document.new(LIVE365_STATION_INFO
STATION_BROADCASTERusername/STATION_BROADCASTER
/LIVE365_STATION_INFO)
xml.elements.each(*/STATION_BROADCASTER)
Hi Everybody...
I Just Tried
ie.table(:index, 1).row(:index, 7).exists?
or
ie.table(:index, 1)[7].exists?
But Nothing Works...
here's The html
table
tr1/tr
tr2/tr
tr3/tr
tr4/tr
tr5/tr
/table
Or Suppose I Have Nested Tables...
table width=600 border=0 cellpadding=0 cellspacing=0
16 matches
Mail list logo