Hi Marc,
Thanks for your reply. Unfortunately, I am still having the same problem
i.e. not able to identify flash object. I have downloaded the latest version
of webtest and have added header to simulate Firefox (checked my firefox
version from htmlunit)
Here is the sample of the script that failed:
<webtest name="Verify adkit">
<config haltonerror="false" haltonfailure="false"
autorefresh="true">
<option name="ThrowExceptionOnScriptError"
value="false"
/>
<option name="ThrowExceptionOnFailingStatusCode"
value="false"
/>
<header name="User-Agent" value="Mozilla/5.0 (Windows; U; Windows NT
5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14"/>
</config>
<enableJavaScript enable="true"/>
<invoke url="
http://www.careerone.com.au/jobs/job-search/special-features/project-services-challenge-and-work-life-balance
"/>
<verifyXPath
xpath="/html/body/[EMAIL PROTECTED]'wrap']/[EMAIL
PROTECTED]'grid-wrap']/div[1]/div[3]/[EMAIL
PROTECTED]'article-extras']/tbody/tr[4]/td/[EMAIL
PROTECTED]'special_feature_adspace-300x250']/div[2]/[EMAIL
PROTECTED]'obj52218']"
description="test xpath"/>
</webtest>
Canoo Webtest is still unable to match the xpath node. Please help