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
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 ,
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
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
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
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
___
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:
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)
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?
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
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
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
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
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
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
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,
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
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
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:
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
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 -- :
21 matches
Mail list logo