How to assert multiple attribute element in Zend_Test?

Posted by kelly on Stack Overflow See other posts from Stack Overflow or by kelly
Published on 2009-12-04T22:56:22Z Indexed on 2010/05/07 20:18 UTC
Read the original article Hit count: 291

Filed under:

For example:

How can I assert this input?

$this->assertQuery( "input[name="user_name][type='hidden']") can not find any content.

Of couse $this->assertQuery( "input[name='user_name']) will work well, but I need to use type and name attributes together.

Thanks a lot.

© Stack Overflow or respective owner

Related posts about zend-test