You can try:

$browser->checkResponseElement('input[name="blah"]', 'abc'); 

checkResponseElement() expexts a CSS selector as first param; it is very
powerful. I suggest you take a look at the symfony functional tests, they
contain valuable examples of how to use the unit testing framework.

http://www.symfony-project.com/trac/browser/trunk/test/functional

François

-----Message d'origine-----
De : [email protected] [mailto:[EMAIL PROTECTED] De
la part de [EMAIL PROTECTED]
Envoyé : jeudi 2 novembre 2006 13:22
À : symfony developers
Objet : [symfony-devs] sfTestBrowser functional testing - get the value of
input tag?


Hi,
Regarding sfTestBrowser functional testing.
How do I get the value of a tag? ie.

<input value='abc' name='blah' type='input' />

Is there an inbuilt sfTestBrowser way of getting the value 'abc'?





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" 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-devs
-~----------~----~----~----~------~----~------~--~---

Reply via email to