[rspec-users] Entering text into a text field using rspec

tester86 sagar.amin4 at gmail.com
Tue Jun 29 19:44:01 EDT 2010


I am new to rspec. I am at a web page and in that page I want to enter
in some text and then click send.

it "will enter in some text 'asf'" do


what command would I used to enter in the text as I have searched
google but I cannot find any thing helpful. I do not want to use watir
as it relies on the ID and in our app the IDs change every time the
page is loaded.

I tried :textfield => 'asf'

But I get and error as it does not like the '.

More information about the rspec-users mailing list