cancelNote
setTimeout 30000
open restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium cancelNote
open logout
open nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1@view_documents
type username jdoe
type password jdoe1
clickAndWait Submit
click link=New
waitForTextPresent Available Document Types
click link=Note
waitForElementPresent css=iframe[id$='nxw_note_editor_ifr']
type //td[@class="fieldColumn"]/input[@type="text"] testNote1
type //td[@class="fieldColumn"]/textarea desc testNote1
runScript window.onbeforeunload = function(e){};
storeEval selenium.browserbot.getCurrentWindow().document.body.innerHTML innerhtml
echo ${innerhtml}
clickAndWait link=testFolder1
storeEval selenium.browserbot.getCurrentWindow().document.body.innerHTML innerhtml
echo ${innerhtml}
watchAjaxTab
click link=Edit
waitForAjaxTab 10000
storeEval selenium.browserbot.getCurrentWindow().document.body.innerHTML innerhtml
echo ${innerhtml}
verifyValue id=document_edit:nxl_heading:nxw_title testFolder1
clickAndWait link=Log Out