Re: [Wtr-general] NoMethodError: undefined method `assert_equal'

2007-04-24 Thread SHALINI GUPTA
hi, I have used this as... $oPopup=Watir::autoit $oPopup.AutoItSetOption("WinTitleMatchMode", 4) 0.upto(timeout) |i| ret = $oPopup.WinWait("Microsoft Internet Explorer","",1) win_text = $oPopup.WinGetText("Microsoft Internet Explorer") if 1 =

Re: [Wtr-general] NoMethodError: undefined method `assert_equal'

2007-04-24 Thread Charley Baker
You can get the text of the window using AutoIt, in javascript popups the text is usually in the first or second static text control: oPopup = Watir::autoit # Change into the WinTitleMatchMode that supports classnames and handles oPopup.AutoItSetOption("WinTit

Re: [Wtr-general] NoMethodError: undefined method `assert_equal'

2007-04-23 Thread SHALINI GUPTA
Hi Ajitesh, I am Shalini gupta.Hope u'll be fine.I am also working on watir.I have problem with java popups.i am able to handle that.but how to get text on popup i dont know.please help me regarding this.Thanks in Advance. Regards and Thanks Shalini Gupta On 4/23/07, Ajitesh Srinetra <[EMAIL PR

Re: [Wtr-general] NoMethodError: undefined method `assert_equal'

2007-04-23 Thread Ajitesh Srinetra
Adding require 'test/unit/assertions' include Test::Unit::Assertions will help.A lot of examples for assertions is provided in unit tests examples .Please follow them in your testcases Ajitesh ___ Wtr-general mailing list Wtr-general@rubyforge.org htt

Re: [Wtr-general] NoMethodError: undefined method `assert_equal' for #

2007-04-20 Thread Ċ½eljko Filipin
Hi Vamsi, Adding require 'test/unit/assertions' include Test::Unit::Assertions to the top of your script should help. Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] NoMethodError: undefined method `assert_equal' for #

2007-04-20 Thread vamsi
Hi, could anyone help me to resolve this error: NoMethodError: undefined method `assert_equal' for # Thanks in Advance. Regards Vamsi ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general