A patch from Erwan de FERRIERES "seleniumXML improvement and corrections" (https://issues.apache.org/jira/browse/OFBIZ-3296) - OFBIZ-3296
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
This commit is contained in:
@@ -20,11 +20,9 @@
|
||||
<waitForPageToLoad value="10000" />
|
||||
<click locator="link=Items" />
|
||||
<waitForPageToLoad value="10000" />
|
||||
<type name="description" value="Item 1" />
|
||||
<type name="AddExampleItem_description" value="Item 1" />
|
||||
<type name="amount" value="100" />
|
||||
<select locator="amountUomId" option="label=Weight: Stone (st)" />
|
||||
<click locator="submitButton" />
|
||||
<waitForPageToLoad value="10000" />
|
||||
<!-- click locator="link=New Example" />
|
||||
<waitForPageToLoad value="10000" / -->
|
||||
<assertConfirmation value="Do you confirm ?" />
|
||||
</testcase>
|
||||
Reference in New Issue
Block a user