[ANN] rSquery 0.1.1

I

Ivo Dancet

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/tree/master

Ivo Dancet
by2.be
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,219
Latest member
KristieKoh

Latest Threads

Top