On Thu, 4 Jun 2009, Vikaash wrote:

> i m going through functional testing and trying to implement it.
> can sombody help me out of understanding the following in functional
> testing:-
> 
> $b->checkResponseElement('ul#list li a[href]', 'click me');
> $b->checkResponseElement('ul > li', 'click me');
> $b->checkResponseElement('ul + li', 'click me');
> $b->checkResponseElement('h1, h2', 'click me');
> $b->checkResponseElement('a[class$="foo"][href*="bar.html"]', 'my
> link');
> $b->checkResponseElement('p:last ul:nth-child(2) li:contains("Some
> text")');
> 
> please somebody explain me the above mentioned as there is no example
> given in symfony document.

Really?

http://www.symfony-project.org/book/1_2/15-Unit-and-Functional-Testing#chapter_15_sub_using_css_selectors



-- 



--~--~---------~--~----~------------~-------~--~----~
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