Hi Marc,
here is a small example of a failing webtest - small piece of real example.
I you remove the image-tag from the test.html the test will succeed.
Is this helpfull for you?
Cheers
Michael
Michael Habbert
Key-Work Consulting GmbH | Kriegsstr. 100 | 76133 Karlsruhe | Germany |
www.key-work.de<http://www.key-work.de>
Fon: +49-721-78203-269 | E-Mail:
[email protected]<mailto:[email protected]> | Fax:
+49-721-78203-10
Key-Work Consulting GmbH, Karlsruhe, HRB 108695, HRG Mannheim
Gesch?ftsf?hrer: Andreas Stappert, Tobin Wotring
Title:
AGS Fachportal Development [v4.01.06]
: Hochrechnung/Vertriebshochrechnung
: Verwaltung
<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "../../dtd/Project.dtd">
<project default="test">
<target name="test">
<webtest name="check PHP: steuerung/zielgruppen - READING!">
<steps>
<invoke url="file:///${basedir}/test.html"/>
<storeXPath property="test.prop" xpath="/html/body/div/table/tbody/tr[2]/td[5]/a"/>
<verifyImages/>
<verifyText description="Verify that text is contained in the page" text="Gutschein"/>
<clickLink xpath="/html/body/div/table/tbody/tr[3]/td[5]/a"/>
</steps>
</webtest>
</target>
</project><<attachment: possibleLinks.gif>>