Re: [Wtr-general] return data from tablecells?

2007-06-05 Thread kumari
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

Re: [Wtr-general] HELP!!!!!!!!! Stuck with a potential bug.

2007-06-05 Thread kumari
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

Re: [Wtr-general] To view the message send based on ID created.

2007-06-05 Thread sapna
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

Re: [Wtr-general] Read a picture number

2007-06-05 Thread Željko Filipin
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

Re: [Wtr-general] Clicking link in Ajax table

2007-06-05 Thread Željko Filipin
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

[Wtr-general] Read a picture number

2007-06-05 Thread chitta
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

Re: [Wtr-general] HELP!!!!!!!!! Stuck with a potential bug.

2007-06-05 Thread Vipul
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

[Wtr-general] Upgrading the gem for watir 1.5.1.1192

2007-06-05 Thread imran
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

Re: [Wtr-general] Upgrading the gem for watir 1.5.1.1192

2007-06-05 Thread Bret Pettichord
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

Re: [Wtr-general] gem error installing 'builder'

2007-06-05 Thread Bret Pettichord
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

[Wtr-general] How would you approach verification of data in *xml* format with Watir?

2007-06-05 Thread Lana
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

Re: [Wtr-general] How would you approach verification of data in *xml* format with Watir?

2007-06-05 Thread Chris McMahon
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

Re: [Wtr-general] How would you approach verification of data in *xml* format with Watir?

2007-06-05 Thread Lana
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

Re: [Wtr-general] How would you approach verification of data in *xml* format with Watir?

2007-06-05 Thread Paul Rogers
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?

Re: [Wtr-general] How would you approach verification of data in *xml* format with Watir?

2007-06-05 Thread Chris McMahon
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)

[Wtr-general] How To Check If A Row Inside A Table Exists Or Not Count Of Rows....

2007-06-05 Thread san
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