Files
ofbiz-framework/framework/testtools/testdef/seleniumxml/example/example_login.xml
T
2009-09-29 08:57:00 +00:00

14 lines
440 B
XML

<?xml version="1.0"?>
<testcase>
<open value="/example/control/logout" />
<waitForPageToLoad value="10000" />
<type name="USERNAME" value="admin" />
<type name="PASSWORD" value="ofbiz" />
<click locator="//input[@value='Login']" />
<waitForPageToLoad value="10000" />
<getBodyText out="bodyText"/>
<getHtmlSource out="htmlSource"/>
<!--assertContains src="${htmlSource}" test="Welcome" /-->
</testcase>