Hi,

 I have a very simple page "page1" which checks for a condition if not
true it puts a message in the session and redirects to "page2" which
picks that message from session and displays it.

 When I perform this action using a browser all is well and I see the
message in page2 but doing same using sfTestBrowser doesnt work. This
is what I am doing.

--some other stuff--
$browser->
  get('/tests/prodtest')->
  isStatusCode(200)->
  setField('prod','abc')->
  click('go')->
  isRedirected()->
  followRedirect()
  responseContains('Incorrect prod name') //this tests keeps failing
;

Using brwoser I to go http://server/myapp/tests/prodtest , it shows
text box, I fill it press enter, I get redirected to
http://server/myapp which shows the message

Whats wrong in my test?

TIA.

Regards,
Amit.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to