insertOrganizationWithoutKeyWithDepartaments
open http://localhost:8080/tntconcept/pages/control_panel.jsf
assertTitle
mouseDown //div[@id='cmSubMenuID5']/*//td[@class='ThemeOfficeMenuItemText' and text()='Organizaciones']
mouseUp //div[@id='cmSubMenuID5']/*//td[@class='ThemeOfficeMenuItemText' and text()='Organizaciones']
waitForPageToLoad 5000
clickAndWait //img[@title='Nuevo']
assertTitle
type organization:name Autentia
clickAndWait //img[@src='/tntconcept/img/add.png']
assertTitle
verifyTextPresent Dirección
select organization:departmentsList label=I+D+I
click //select[@id='organization:departmentsList']/option[2]
clickAndWait //img[@src='/tntconcept/img/add.png']
assertTitle
verifyTextPresent I+D+I
select organization:departmentsList label=Consultoría
click //select[@id='organization:departmentsList']/option[3]
clickAndWait //img[@src='/tntconcept/img/add.png']
assertTitle
verifyTextPresent Consultoría
clickAndWait //tbody[@id='organization:departments:tbody_element']/tr[3]/td[1]/a/img
assertTitle
clickAndWait //form[@id='organization']/div/a[1]/img
assertTitle
verifyTextPresent Autentia