Re: [Wtr-general] OT: Is cruisecontrol.rb by thoughworks is withdrawn

2007-06-18 Thread Manish Sapariya
Owen Rogers wrote: > try now. the server needed a reboot. > cheers, > owen. > Thanks all. -Manish ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Method Precedence confusion

2007-06-18 Thread Adam Reed
Aha - I haven't been keeping up with the new release docs. I'll have to try that out. Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord Sent: Monday, June 18, 2007 4:00 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Meth

Re: [Wtr-general] Method Precedence confusion

2007-06-18 Thread Bret Pettichord
Adam Reed wrote: > Glad I could help. One thing you'd have most likely noticed if you were > to run those 66 separate functions is an "RPC Error" that would stop > your testing cold. Eventually IE can't open/close fast enough to keep > up with the script, and basically crashes itself. So, you're

[Wtr-general] Fwd: Re: Fwd: Re: OT: Is cruisecontrol.rb by thoughworks is withdrawn

2007-06-18 Thread Paul Rogers
heres why cruise.rb was down--- Begin Message --- Hi, Paul, It's the server that runs demo instance. For some reason it just powers itself down every month or so, and prefers to do it on Friday night... We will be moving it to a somewhat less ad-hoc setup soon. -- Alex Paul Rogers <[EMAIL P

Re: [Wtr-general] Method Precedence confusion

2007-06-18 Thread Adam Reed
Glad I could help. One thing you'd have most likely noticed if you were to run those 66 separate functions is an "RPC Error" that would stop your testing cold. Eventually IE can't open/close fast enough to keep up with the script, and basically crashes itself. So, you're already one step ahead o

Re: [Wtr-general] Method Precedence confusion

2007-06-18 Thread Lauren
Yes Indeed! Your reply was a great help! Your explanation was so clear - I don't know how I missed that in the first place! I have redesigned my tests. There are only 4 tests now with 66 assertions only because I didn't want my browser to open and close 66x. Now it opens and closes 4 times. It

Re: [Wtr-general] Method Precedence confusion

2007-06-18 Thread Adam Reed
The teardown script automatically runs at the completion of all test functions. The alphabetical order only affects multiple test_* functions. If you have: def setup end def test_01 end def test_02 end def teardown end They will run in this order: setup, test_01, teardown, setup, test_02, t

[Wtr-general] Method Precedence confusion

2007-06-18 Thread Lauren
Hello, I apologize for my confusion yet again, but I hope this will be a simple answer for someone... I have written a script that asserts whether labels on a page exist or not. Here is a small snippet of code to serve as an example: class TC_banking_info_labels < Test::Unit::TestCase in

Re: [Wtr-general] OT: Is cruisecontrol.rb by thoughworks is withdrawn

2007-06-18 Thread Owen Rogers
On 17/06/07, Manish Sapariya <[EMAIL PROTECTED]> wrote: > I am trying to access following url for last two days, > but no success. > > http://cruisecontrolrb.thoughtworks.com/ > > Is anybody out here facing same problem. try now. the server needed a reboot. cheers, owen. -- Owen Rogers | http://d

Re: [Wtr-general] Not able to find the title of newly opened window.

2007-06-18 Thread Bret Pettichord
kumari wrote: > i think the window doesn't have URL ,it has only tiltle which can't be > caputred before clicking the link.And the title is with respect to name of > the person which changes depending on the link which we r clicking. Every browser window has a URL. Sometimes the browser will hide

Re: [Wtr-general] control existing IE window?

2007-06-18 Thread John Fitisoff
ie = IE.attach(:title, /TitlebarText/) --- mihai <[EMAIL PROTECTED]> wrote: > how can i control a already IE opened window > for example if i have www.google.com window open but > not with watir can i associate a variable $ie to > that window an then click links etc using that > variable? > _

Re: [Wtr-general] iterate thru forum

2007-06-18 Thread B Smith
I got this far on my own table = ie.table(:index,5) v_3 = table[1][3].to_s v_4 = table[1][4].to_s v_5 = table[1][5].to_s v_6 = table[1][6].to_s variable = v_3 + " " + v_4 + " " + v_5 + " " + v_6 puts variable This now returns the HEADER row from the correct table

Re: [Wtr-general] OT: Is cruisecontrol.rb by thoughworks is withdrawn

2007-06-18 Thread Bret Pettichord
Manish Sapariya wrote: > I am trying to access following url for last two days, > but no success. > > http://cruisecontrolrb.thoughtworks.com/ > > See http://rubyforge.org/projects/cruisecontrolrb/ Both Alexey and Jeremy have made commits in the past week, but it does look like the project has

Re: [Wtr-general] Load Error

2007-06-18 Thread Bret Pettichord
Max Russell wrote: > > > can you post your test script? it would help to diagnose your problem. > > > > # Simple test harness > What was your original question? Your reply was not indexed with the original post. Bret ___ Wtr-general mailing list Wtr-g

[Wtr-general] iterate thru forum

2007-06-18 Thread B Smith
I am trying to develop a check for replies vs. views for a forum. Problems, A) dynamically find categories B) dynamically iterate thru topics to cull answer Since I am still new to WATIR, I don't know howto set up the iteration and I'm trying to get the navstrip info so that I know what area th

Re: [Wtr-general] OT: Is cruisecontrol.rb by thoughworks is withdrawn

2007-06-18 Thread Jeff Fry
Manish Sapariya wrote: > I am trying to access following url for last two days, > but no success. > > http://cruisecontrolrb.thoughtworks.com/ > > Is anybody out here facing same problem. > Just tried and yes, it times out for me too. Not sure what's on which page, but http://rubyforge.org/proj

Re: [Wtr-general] control existing IE window?

2007-06-18 Thread mihai
tnx a lot ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] control existing IE window?

2007-06-18 Thread Željko Filipin
From WATIR User Guide (http://wtr.rubyforge.org/watir_user_guide.html), section New Windows. ie = Watir::IE.attach(:url, 'http://mytestsite') ie = Watir::IE.attach(:title, 'Test New Window') ie = Watir::IE.attach(:title, /Test New/) Zeljko -- ZeljkoFilipin.com __

[Wtr-general] control existing IE window?

2007-06-18 Thread mihai
how can i control a already IE opened window for example if i have www.google.com window open but not with watir can i associate a variable $ie to that window an then click links etc using that variable? ___ Wtr-general mailing list Wtr-general@rubyforg

[Wtr-general] How to get properties of a JSP page using Watir.

2007-06-18 Thread sourabh jain
hi i am trying to automate a jsp page. when i am doing ie.showAllObjects its only showing HTML Document name=MX_HIDDEN id=MX_HIDDEN src=javascript:document.writeln();document.close() HTML Document name= id= src=MxPortal.jsp I want to click a l

Re: [Wtr-general] Load Error

2007-06-18 Thread Max Russell
>can you post your test script? it would help to diagnose your problem. # Simple test harness require 'watir' require 'watir/testcase' #require 'test/unit' #$LOAD_PATH << '..' if $0 == __FILE__ $LOAD_PATH << './Tests' class TestSuite < Watir::TestCase File.open(AR