[rspec-users] Entering text into a text field using rspec
curtis.schofield at gmail.com
Thu Jul 1 15:19:06 EDT 2010
On Jun 29, 2010, at 4:44 PM, tester86 <sagar.amin4 at gmail.com> wrote:
> 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.
Sorry - toppost is a habit - check out capybara and see how it can be
used stand alone with rspec to interact with the page
> 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 '.
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users