jbn-1215
open | /Login.do |
type | j_username | rhqadmin
type | j_password | rhqadmin
clickAndWait | //input[@value='Login'] |
clickAndWait | link=Browse Resources |
clickAndWait | //a[contains(text(),'Servers')] |
clickAndWait | //a[contains(text(),'RHQ Server, JBossAS 4.2.1.GA default')] |
clickAndWait | //img[contains(@src,'Alert')] |
clickAndWait | //input[@value='NEW DEFINITION'] |
type | name | JBNADM-1215
type | description | mydesc
click | //input[@name='condition[0].trigger' and @value='onEvent'] |
select | condition[0].eventSeverity | label=DEBUG
type | condition[0].eventDetails | java.lang.OutOfMemoryError
clickAndWait | ok |
verifyTextNotPresent | You can view the stack trace |