createStructure
setTimeout 30000
open restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium createStructure
open logout
open
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']
mouseDown link=New
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
mouseDown link=New
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']
mouseDown link=New
clickAndWait link=Section
type //td[@class="fieldColumn"]/input[@type="text"] testSection2
type //td[@class="fieldColumn"]/textarea desc testSection2
clickAndWait //input[@value='Cancel']
mouseDown link=New
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