createStructure
setTimeout 30000
open restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium createStructure
open logout
openAndWait
type username Administrator
type password Administrator
clickAndWait Submit
verifyTextPresent Administrator
clickAndWait link=Workspaces
clickAndWait link=Create a New Workspace
type //td[@class="fieldColumn"]/input[@type="text"] testWorkspace1
type //td[@class="fieldColumn"]/textarea desc testWorkspace1
clickAndWait //input[@value='Create']
click link=New
waitForTextPresent Available Document Types
clickAndWait link=Folder
type //td[@class="fieldColumn"]/input[@type="text"] testFolder1
type //td[@class="fieldColumn"]/textarea desc testFolder1
clickAndWait //input[@value='Create']
clickAndWait Link=testWorkspace1
click link=New
waitForTextPresent Available Document Types
clickAndWait link=Folder
type //td[@class="fieldColumn"]/input[@type="text"] testFilesFolder
type //td[@class="fieldColumn"]/textarea desc testFilesFolder
clickAndWait //input[@value='Create']
clickAndWait link=Workspaces
clickAndWait link=Create a New Workspace
type //td[@class="fieldColumn"]/input[@type="text"] testWorkspace2
type //td[@class="fieldColumn"]/textarea desc testWorkspace2
clickAndWait //input[@value='Create']
clickAndWait Link=Sections
clickAndWait link=Create a New Section
type //td[@class="fieldColumn"]/input[@type="text"] testSection1
type //td[@class="fieldColumn"]/textarea desc testSection1
clickAndWait //input[@value='Create']
click link=New
waitForTextPresent Available Document Types
clickAndWait link=Section
type //td[@class="fieldColumn"]/input[@type="text"] testSection2
type //td[@class="fieldColumn"]/textarea desc testSection2
clickAndWait document_create:nxw_documentCreateButtons_CANCEL_DOCUMENT_CREATION
click link=New
waitForTextPresent Available Document Types
clickAndWait link=Section
type //td[@class="fieldColumn"]/input[@type="text"] testSection2
type //td[@class="fieldColumn"]/textarea desc testSection2
clickAndWait //input[@value='Create']
clickAndWait link=Log Out