Hi Marc,
Sorry if I am not clear or just being simply not understanding the way that
webtest does. However, I have used quite a lot of webtest and it is very
much helpful in terms of web testing. Can you advise me again why my test
was wrong:? I can verify any xpath in the page including any node or
attribute of the dom page except the shockwave/flash object itself. Thanks
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "../dtd/Project.dtd">
<project name="demo.googleWebTestSteps" default="test">
<import file="../definitions.xml"/>
<target name="test" depends="wt.defineMacros">
<webtest name="Test Xpath">
<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; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12"/>
</config>
<enableJavaScript description="stop java" enable="false"/>
<invoke url="
http://www.careerone.com.au/jobs/job-search/special-features/asc-offers-opportunities-to-move-and-grow
"/>
<verifyXPath xpath="//html"/>
</webtest>
</target>
</project>