Roles admin page testing
-Tests the admin page for admin role.
open / (open the main interface)
type //input[@name='usr'] user
type //input[@name='pwd'] user
clickAndWait //form[@name='loginForm']//input[@name='submit'] submit
waitForDispatchCompleted 10000
pause 200
comment Verify that the searchField and submit button are there
verifyElementPresent entry
verifyElementPresent entrySubmit
clickAndWait //a[@id='adminLink'] submit
waitForDispatchCompleted 10000
comment Verify that power user tabs are present but the others are not
verifyElementNotPresent //a[@href='/admin/settings']
verifyElementNotPresent //a[@href='/admin/datainputs']
verifyElementNotPresent //a[@href='/admin/distributed']
verifyElementPresent //a[text()='User']
verifyElementPresent //a[@href='/admin/saved']
verifyElementNotPresent //a[@href='/admin/license']