[wtr-general] Re: Problem getting attribute of a span

2009-11-08 Thread karim rayani
Hello, If nothing works out then please use the hpricot library, excellent library for screen scrapping. Karim Rayani On Sat, Nov 7, 2009 at 2:49 AM, BookGuy bookscro...@gmail.com wrote: I'm trying to test against the class name of a span. I'm iterating through all spans and basically want

[wtr-general] Re: Problem getting attribute of a span

2009-11-08 Thread Ethan
ie.spans.each do |span| if span.className==SSSBUTTON_CONFIRMLINK puts span.text end end something like that? use the cheat sheet: http://wiki.openqa.org/display/WTR/Cheat+Sheet On Sat, Nov 7, 2009 at 05:49, BookGuy bookscro...@gmail.com wrote: I'm trying to test against the class

[wtr-general] Error when running test - undefined method...

2009-11-08 Thread Alan Malta
Hi folks, I'm running a flex application test, but I get the follow error when execute cucumber features: - (...) Scenario: Increment index # features/ counter.feature undefined method 'flex_app' for #Watir::IE:0x3f8e910 NoMethodError

[wtr-general] Re: Working on Chrome watir

2009-11-08 Thread Shamiq
For those with the CreateProcess() error, be sure to add the Chrome directory to your environment PATH variable then quit all instances of the command prompt. A quick test to see if this worked as intended is to type chrome in the prompt and see if it launches Chrome. -Shamiq On Nov 6, 6:03 am,

[wtr-general] Can Watir fetch the system time?

2009-11-08 Thread yuping zhong
Dear All, I want to know if Watir can get the system time. If true,how to do that? Thanks! -Zhong --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to

[wtr-general] Re: Can Watir fetch the system time?

2009-11-08 Thread Pallavi Sharma
Watir is designed in Ruby, and Ruby being a powerful language supports all such functionalities: Link: http://www.tutorialspoint.com/ruby/ruby_date_time.htm http://www.tutorialspoint.com/ruby/ruby_date_time.htmhope this helps. -- Pallavi. On Mon, Nov 9, 2009 at 10:04 AM, yuping zhong

[wtr-general] Re: Can Watir fetch the system time?

2009-11-08 Thread Raveendran P
Hi Zhong, Ruby can but i am not sure about Watir. The Ruby code to get system time in Ubuntu machine: systime.rb mytime=`date` puts time=mytime.split(' ')[3] output: 10:48:31 For windows -- Please refer http://bit.ly/iub2C Thanks On Mon, Nov 9, 2009 at 10:04 AM, yuping zhong

[wtr-general] How to capture Dynamic text using Ruby

2009-11-08 Thread shradha_Dalvi
Hi All, We all are acquainted with the opening a new account on gmail,yahoo,rediff etc.I had aquery,After filling all the information for crating mail account,at end ,we have provided a image which contains Alpha-numeric characters in Zic-zac way. Could anybody tell me how to capture it

[wtr-general] Re: Working on Chrome watir

2009-11-08 Thread sai
Jarib, Aidy, I have started working on Watir API for webdriver for Chrome. It may take a few more weeks to see something substantial. But its a start :) Regards. Sai On Nov 8, 9:22 am, Jari Bakken jari.bak...@gmail.com wrote: On Sat, Nov 7, 2009 at 12:14 PM, aidy lewis

[wtr-general] Re: How to capture Dynamic text using Ruby

2009-11-08 Thread SMF SMF
check this... (for Captcha) http://groups.google.com/group/recaptcha/browse_thread/thread/499622081b0d8b90 On Mon, Nov 9, 2009 at 12:51 PM, shradha_Dalvi kshradh...@gmail.com wrote: Hi All, We all are acquainted with the opening a new account on gmail,yahoo,rediff etc.I had