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

Curtis curtis.schofield at gmail.com
Thu Jul 1 15:17:26 EDT 2010

Check into capybara

On Jun 29, 2010, at 4:44 PM, tester86 <sagar.amin4 at gmail.com> wrote:

> HI
> 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
> end
> 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 '.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list