Re: [Wtr-general] Question About Test Suite

2007-02-06 Thread Maisonnette
Yes, and your tests function must be start with 'test_' in every test case file ... (http://rubyforge.org/pipermail/wtr-general/2006-July/006762.html) - Posted via Jive Forums

[Wtr-general] hypertext is present ?

2007-02-06 Thread Maisonnette
Hi everyone, Do you know how to know if an hypertext link is present and return a Failures is the link is not present . Like this : [b]html :[/b] [i]a href=/gestion/consultationAS.do style=color: #4319C5; title=Consultation des ASCst_AS/a[/i] [b]watir/ruby code :[/b] [i]assert_contain(true ,

Re: [Wtr-general] hypertext is present ?

2007-02-06 Thread Maisonnette
Yes , it's that ! - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6436messageID=18224#18224 ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] while not exists does not work in Firewatir?

2007-02-06 Thread Paul Carvalho
I try to avoid icky double negatives. Does the following line work for you instead? sleep 0.5 until $browser.link(:text, Withdraw).exists? On 05/02/07, steven [EMAIL PROTECTED] wrote: The following code only seems to work if $browser = ie.new, and not firefox.new (i.e. with Firewatir). Am

Re: [Wtr-general] hypertext is present ?

2007-02-06 Thread Maisonnette
Finnaly , i fond the solution ! The solution is : [b]assert(ie.link(:text, Cst_AS).exists?,This link don't exist !)[/b] - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6436messageID=18222#18222

Re: [Wtr-general] hypertext is present ?

2007-02-06 Thread John Lolis
ie.link(:text, 'Consultation des AS').exists? is that what you are looking for? - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6436messageID=18223#18223 ___

Re: [Wtr-general] how to populate hidden text area?

2007-02-06 Thread Suman Goel
For now, I am tweaking a bug in the application under test to suit my testing.. And it is working somehow :-) -Suman _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angrez Singh Sent: Wednesday, January 31, 2007 6:28 AM To: wtr-general@rubyforge.org Subject: Re:

Re: [Wtr-general] Autoit problem

2007-02-06 Thread lianagi
thanks! now these are the other problems cannot find file c:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/unittests/html/javascriptclick.html make sure the path or internet address is correct C:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/unittests/../unittests/div_test.r b:11:in `setup' 18)

Re: [Wtr-general] Data Driven Testing

2007-02-06 Thread Richard Conroy
On 2/5/07, mike [EMAIL PROTECTED] wrote: I have been testing with WET for their limited data support, but its become easier to construct the tests (minus data input) without it. Using ActiveRecord seems promising, does it require the entire rails framework, or can it standalone with watir?

[Wtr-general] How do I connect to MS SQL 2005 using Ruby?

2007-02-06 Thread Nathan
Just wondering, because I can't find anything that really makes sense, and don't want to use full blown out rails if possible, but I need to connect to MS SQL Server 2005 - does anybody have any thought, ideas, or solutions? Thanks, Nathan

Re: [Wtr-general] How do I connect to MS SQL 2005 using Ruby?

2007-02-06 Thread Chris McMahon
On 2/6/07, Nathan [EMAIL PROTECTED] wrote: Just wondering, because I can't find anything that really makes sense, and don't want to use full blown out rails if possible, but I need to connect to MS SQL Server 2005 - does anybody have any thought, ideas, or solutions? I like Ruby's ODBC

Re: [Wtr-general] How do I connect to MS SQL 2005 using Ruby?

2007-02-06 Thread John Lolis
Google spit this out http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServer never tried it, but it might help :) - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6445messageID=18254#18254

Re: [Wtr-general] How do I connect to MS SQL 2005 using Ruby?

2007-02-06 Thread Nathan
Right, I've already tried Google with several variations and nothing there is what I'm looking for - I want to connect to MS SQL WITHOUT rails, and this solution as well as every other solution I've come across has been for rails, which requires a rails server to be running. I just want plain

Re: [Wtr-general] How do I connect to MS SQL 2005 using Ruby?

2007-02-06 Thread Nathan
Is Ruby ODBC installed with Ruby 1.8.5? I haven't been able to figure this out as there don't seem to be any docs for it :( Nathan - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6445messageID=18259#18259

Re: [Wtr-general] How do I connect to MS SQL 2005 using Ruby?

2007-02-06 Thread Chris McMahon
On 2/6/07, Nathan [EMAIL PROTECTED] wrote: Right, I've already tried Google with several variations and nothing there is what I'm looking for - I want to connect to MS SQL WITHOUT rails, and this solution as well as every other solution I've come across has been for rails, which requires a

Re: [Wtr-general] How do I connect to MS SQL 2005 using Ruby?

2007-02-06 Thread Chris McMahon
On 2/6/07, Nathan [EMAIL PROTECTED] wrote: Is Ruby ODBC installed with Ruby 1.8.5? I haven't been able to figure this out as there don't seem to be any docs for it :( C:irb irb(main):001:0 require 'odbc' = true irb(main):002:0 the best docs I've found are on that link I showed you,

Re: [Wtr-general] How do I connect to MS SQL 2005 using Ruby?

2007-02-06 Thread Paul Rogers
This connects to MSSQL server ( 2000 I think ) using OLE Be warned, ole ( or rubys bindings to it ) leaks like a sieve require 'dbi' DB = Provider=SQLOLEDB.1;Password=secret;Persist Security Info=True;User ID=admin;Initial Catalog=my_database;Data Source=the_server sql = select distinct

Re: [Wtr-general] How do I connect to MS SQL 2005 using Ruby?

2007-02-06 Thread Chris McMahon
You may need to install the ADO driver separately, but odbc would work in the same way as above, just the lines with DBI:ADO: and DB='..' would be different Unless I'm mistaken, that's not true. There is a DBI::ODBC, and there is also 'odbc'. Two separate libraries. I find

[Wtr-general] File location installing 1.4.1 Gem

2007-02-06 Thread carl . l . shaulis
Good evening: I have been experimenting with installing and uninstalling watir gems. The objective is to find the steps that permit an efficient installation of a watir gem and have all of the unit tests pass without any troubleshooting. I have been executing these unit test suites:

Re: [Wtr-general] while not exists does not work in Firewatir?

2007-02-06 Thread Angrez Singh
Hi Steven, I checked it again. :text attribute is supported by link element. You can access link element using :text. Please refer to the unit tests for more details. If it still doesn't work out, you can post the HTML and FireWatir code here. Regards, Angrez On 2/6/07, Paul Carvalho [EMAIL

Re: [Wtr-general] how to populate hidden text area?

2007-02-06 Thread Angrez Singh
Hi Suman, I could reach the textarea successfully but am still getting the same error - Ok The error you are getting is related to frames ... could you just check it once again? W, [05-Feb-2007 10:52:14#3200] WARN -- : runtime error in wait W, [05-Feb-2007 10:52:18#3200] WARN -- :