open |
/myfaces-example-simple/testSuite/home.jsf |
|
open |
/myfaces-example-simple/testSuite/hForm.jsf |
|
assertElementPresent |
//form[@id='basicForm'] |
|
assertElementPresent |
//span[@id='basicForm:hOutputText'] |
|
assertElementNotPresent |
//form[@id='nonRenderedForm'] |
|
assertElementPresent |
//form[@id='formWithAttributes'] |
|
assertElementPresent |
//span[@id='formWithAttributes:hOutputText'] |
|
assertAttribute |
//form[@id='formWithAttributes']@target |
formFrame |
assertAttribute |
//form[@id='formWithAttributes']@accept |
contentType |
assertAttribute |
//form[@id='formWithAttributes']@enctype |
encodeType |
assertAttribute |
//form[@id='formWithAttributes']@onreset |
glob:*Alert('onReset');* |
assertAttribute |
//form[@id='formWithAttributes']@onsubmit |
glob:*Alert('onSubmit');* |