| AjaxExample | ||
| open | +/example/control/updateExampleFeature | ++ |
| clickAndWait | +link=Logout | ++ |
| type | +PASSWORD | +ofbiz | +
| clickAndWait | +//input[@value='Login'] | ++ |
| clickAndWait | +link=Ajax Examples | ++ |
| type | +exampleName | +AJAX example name | +
| type | +description | +AJAX description | +
| type | +longDescription | +This is a long description | +
| type | +comments | +this is a comment | +
| type | +exampleSize | +10 | +
| click | +//img[@alt='View Calendar'] | ++ |
| click | +//tr[5]/td[2]/div | ++ |
| click | +link=OK | ++ |
| click | +//div[@id='_G266__body']/table/tbody/tr[9]/td[2]/a/img | ++ |
| click | +link=Now | ++ |
| click | +link=OK | ++ |
| select | +anotherText | +label=Explicit Option | +
| click | +submitButton | ++ |
| clickAndWait | +link=10000 | ++ |
| type | +longDescription | +This is a long description - this is a big update | +
| clickAndWait | +submitButton | ++ |
| clickAndWait | +link=Ajax Examples | ++ |
| clickAndWait | +link=10000 | ++ |
| clickAndWait | +link=Printer Friendly | ++ |
| NewExample | ||
| open | +/example/control/FindExample?portalPageId=Example | ++ |
| clickAndWait | +link=Logout | ++ |
| type | +PASSWORD | +ofbiz | +
| clickAndWait | +//input[@value='Login'] | ++ |
| clickAndWait | +link=New Example | ++ |
| select | +statusId | +label=Defined | +
| type | +exampleName | +New Example 1 | +
| type | +description | +This is a description | +
| type | +longDescription | +Long description goes here | +
| type | +comments | +comments go here | +
| type | +exampleSize | +10 | +
| click | +//img[@alt='View Calendar'] | ++ |
| click | +//tr[2]/td[5]/div | ++ |
| click | +//tr[2]/td[5]/div | ++ |
| click | +//div[@id='_G152__body']/table/tbody/tr[9]/td[2]/a/img | ++ |
| click | +//tr[3]/td[2]/div | ++ |
| click | +//tr[3]/td[2]/div | ++ |
| click | +link=OK | ++ |
| select | +anotherText | +label=Good | +
| clickAndWait | +submitButton | ++ |
| clickAndWait | +link=Items | ++ |
| type | +description | +Item 1 | +
| type | +amount | +100 | +
| select | +amountUomId | +label=Weight: Stone (st) | +
| clickAndWait | +submitButton | ++ |
| clickAndWait | +link=New Example | ++ |
| NewFeature | ||
| open | +/example/control/EditExample | ++ |
| clickAndWait | +link=Logout | ++ |
| type | +PASSWORD | +ofbiz | +
| clickAndWait | +//input[@value='Login'] | ++ |
| clickAndWait | +link=Feature | ++ |
| clickAndWait | +searchButton | ++ |
| clickAndWait | +link=New Example Feature | ++ |
| type | +description | +New Feature 1000 | +
| clickAndWait | +submitButton | ++ |
| clickAndWait | +link=Examples | ++ |
| clickAndWait | +//a[contains(@href, '/example/control/EditExampleFeature?exampleFeatureId=10000')] | ++ |
| clickAndWait | +link=Feature | ++ |
| type | +description | +New Feature | +
| clickAndWait | +searchButton | ++ |
| clickAndWait | +link=10000 | ++ |
| type | +description | +New Feature 1000 - updated | +
| clickAndWait | +submitButton | ++ |