[Wtr-general] Clicking link in Ajax table

2007-06-01 Thread Harmeet
*How to click a dynamic link in AJAX table that changes its state from 'Save PDS' to 'Saved' and also sends a request to the server to save a fund with APIR code. I am using Watir. Here is the code* div id=super.bestPerforming class=content-module style=display: none div class=clear/div

Re: [Wtr-general] how to count the no of link in a datatable

2007-06-01 Thread Željko Filipin
On 5/31/07, Ravi [EMAIL PROTECTED] wrote: ie.table(:index,1).links.length I knew that there must be a simpler solution. :) Thanks Ravi. Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

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

2007-06-01 Thread Željko Filipin
This does not work? ie.link(:text, Save PDS).click Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] How do i check the sorting of Date?

2007-06-01 Thread watir-user watir-user
Hi All, I need help for checking the sorting date. I have a link called Job Date below of this link displays list of Date, clicking on this link it sorts the date field, like follow 05/31/2007 09:36 AM 05/31/2007 09:36 AM 05/31/2007 09:13 AM 05/30/2007 03:20 PM 05/30/2007 11:16 AM 05/30/2007

Re: [Wtr-general] How do i check the sorting of Date?

2007-06-01 Thread Paul Rogers
there is a parse method on the Date class which allows you to create a ruby date object from a string http://www.ruby-doc.org/core/classes/Date.html#M000656 you could do this for each of the dates listed below, and then have ruby sort them, and format in the same style as they are shown in

Re: [Wtr-general] Microsoft Support for Ruby

2007-06-01 Thread Bret Pettichord
Bret Pettichord wrote: Some of you may have seen some of the recent announcements from Microsoft regarding their plans to support Ruby in the .Net environment. This is an excellent post that analyzes the impact that this may have: http://martinfowler.com/bliki/RubyMicrosoft.html Here is

[Wtr-general] Fox Test Runner

2007-06-01 Thread Bret Pettichord
Have any of you gotten the Fox Test Runner to work? This is used if you run your Test::Unit based tests using the -rf command line switch. I have installed fxruby-1.6.11.gem and RXRuby-1.6.11-ruby186.exe, but still get this error: no such file to load -- fox (LoadError) I'm guessing that

Re: [Wtr-general] Microsoft Support for Ruby

2007-06-01 Thread Phlip
Bret Pettichord wrote: Some of you may have seen some of the recent announcements from Microsoft regarding their plans to support Ruby in the .Net environment. This is an excellent post that analyzes the impact that this may have: http://martinfowler.com/bliki/RubyMicrosoft.html Here is a

Re: [Wtr-general] Gmail Automation: Repeated execution fails to send mails, set values fails

2007-06-01 Thread Manish Sapariya
devya wrote: But this case fails after few iteration with following exception c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:1819:in `method_missing': unknown property or method `readyState' (WIN32OLERuntimeError) HRESULT error code:0x80070005 Access is denied.

Re: [Wtr-general] Gmail Automation: Repeated execution fails to send mails, set values fails

2007-06-01 Thread Manish Sapariya
devya wrote: Case 2: Fails to set value for the to,subject and mailbody fields after few iteration. login for 1 to 50 sendmail logout In this case after sending the first, few mails, it shows the to,subject,mailbody fields. The exists? test passes for these controls. However setting