the error message :
Wrong document title found!. Expected value ".*Person List.*" but got "Person
Detail | AppFuse"
the test case is auto generated:
<!-- Add a new Person -->
<target name="AddPerson" description="Adds a new Person">
<webtest name="addPerson">
&config;
<steps>
&login;
<invoke description="click Add Button" url="/editPerson.do"/>
<verifytitle description="we should see the personDetail title"
text=".*${personDetail.title}.*" regex="true"/>
<!-- enter required fields -->
<clickbutton label="${button.save}" description="Click button
'Save'"/>
<!-- error launches here !!!!!!!!!!!!!!!!!!!!!!!1 -->
<verifytitle description="Person List appears if save
successful"
text=".*${personList.title}.*" regex="true"/>
<verifytext description="verify success message"
text="${person.added}"/>
</steps>
</webtest>
</target>
but when i run the program by myself, everything is ok.
when click save, the person list page appear.
so what's wrong ?
thanks :)