NewFeature
open /example/control/setSessionLocale?newLocale=en
open /example/control/logout
type USERNAME admin
type PASSWORD ofbiz
clickAndWait //input[@value='Login']
assertTitle OFBiz: Example: Find Example
open /example/control/FindExample?portalPageId=Example
waitForTextPresent New Example
click link=New Example
waitForElementPresent EditExample_statusId
select EditExample_statusId label=Defined
type EditExample_exampleName New Example 1
type EditExample_description This is a description
type EditExample_longDescription Long description goes here
type EditExample_comments comments go here
type EditExample_exampleSize 10
click //button[@class='ui-datepicker-trigger'][1]
click //button[contains(text(),'Now')]
click //button[contains(text(),'Done')]
select EditExample_anotherText label=Contrived
clickAndWait submitButton
waitForElementPresent //div[@id='search-results']//a[@class='buttontext']
clickAndWait //div[@id='search-results']//a[@class='buttontext']
clickAndWait link=Items
type description Item 1
type amount 100
select amountUomId label=Weight: Stone (st)
clickAndWait //input[@name='submitButton' and @value='Add']
assertConfirmation Do you confirm ?
clickAndWait link=Example
open /example/control/logout