Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
[ANN] rSquery 0.1.1
Ivo Dancet
5/15/2009 4:45:00 PM
Hello all
rSquery aims to reduce the difficulties involved in writing selenium
tests in cucumber environments for webapps that use jQuery.
The project contains several methods to help you with writing
javascript commands for selenium and javascript based tests for
cucumber or even rSpec.
It makes it possible to write stuff like (in jQuery enabled webapp):
- jquery("#content").wait_for_visible
- jquery("#dialog button:contains(Ok)").click
- jquery.wait_for_text("User saved...")
- jquery.wait_for_element(".some_element")
- jquery("#dialog div").text.should have_text(/some_text/)
- jquery("#dialog").find(".warning")
- jquery("#dialog").html.should have_tag("button", "Ok")
- jquery("#dialog").should be_visible
- jquery("#dialog") # page must have an element with id 'dialog'
The project is at
http://github.com/caifara/rsquery/t...
Ivo Dancet
by2.be
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
[ANN] rSquery 0.1.1
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password