corrected the XML tests
added new functions in selenium for better conversion from selenese and use with the XML tests :
* echo
* verifyTextPresent
* verifyTextNotPresent
* assertTitle
* assertConfirmation
Removed comments
* waitForPageToLoad : just wait the page to load before any other action (time in ms)
* click : make a click on an element
* assertContains : assert an element contains some code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887126 13f79535-47bb-0310-9956-ffa450edef68
8 lines
277 B
XML
8 lines
277 B
XML
<testcase>
|
|
<open value="/example/control/FindExample" />
|
|
<waitForPageToLoad value="10000" />
|
|
<click locator="searchButton" />
|
|
<waitForPageToLoad value="10000" />
|
|
<getHtmlSource out="searchResults"/>
|
|
<assertContains src="${searchResults}" test="Brett" />
|
|
</testcase> |