'ClientUtils.findAll() can find matching DOM elements');
// scoped
varscope=clientutils.findOne('ul');
casper.test.assertType(clientutils.findAll('li',scope),'nodelist','ClientUtils.findAll() can find matching DOM elements within a given scope');
casper.test.assertEquals(clientutils.findAll('li',scope).length,2,'ClientUtils.findAll() can find matching DOM elements within a given scope');
casper.test.assertType(clientutils.findAll(x('//li'),scope),'array','ClientUtils.findAll() can find matching DOM elements using XPath within a given scope');
'ClientUtils.findOne() can find a matching DOM element');
test.assertNot(clientutils.findOne('ol'),
'ClientUtils.findOne() can find a matching DOM element');
// scoped
varscope=clientutils.findOne('ul');
casper.test.assertType(clientutils.findOne('li',scope),'htmllielement','ClientUtils.findOne() can find a matching DOM element within a given scope');
casper.test.assertType(clientutils.findOne(x('//li'),scope),'htmllielement','ClientUtils.findOne() can find a matching DOM element using XPath within a given scope');