addSystemTest
open /ProductRegistry-dev/home.seam
select internationalisation:select label=English
clickAndWait internationalisation:commandButton
clickAndWait loginLink
type login:username AAAAAUsername
type login:passwordNotHashed 1234567
clickAndWait login:submit
assertText //div[@id='messagesForEasySearchDecorate']/ul/li Welcome, AAAAAUsername
assertTextPresent Welcome, AAAAAUsername
clickAndWait menuBarForm:systemsManagementAddNewSystemOutputText
clickAndWait menuBarForm:systemsManagementListSystemsOutputText
clickAndWait menuBarForm:systemsManagementAddNewSystemOutputText
type register:nameDecoration:systemname AAAAAPACS
click register:typeDecoration:SystemTypeListBox
select register:typeDecoration:SystemTypeListBox label=PACS - Image Manager and Image Archive
type register:versionDecoration:version 1.2.3
click register:integrationStatementUrlDecoration:integrationStatementUrl
type register:integrationStatementUrlDecoration:integrationStatementUrl http://www.ihe.net
click register:integrationStatementDateDecoration:j_id95PopupButton
click register:integrationStatementDateDecoration:j_id95DayCell11
assertTextPresent Information : This URL is currently unreachable. No Integration Statements have been found.
assertText register:integrationStatementUrlDecoration:errorsNoBorderMessage Information: This URL is currently unreachable. No Integration Statements have been found.
click register:editSystemSaveSystemButton
assertTextPresent Your Integration Statement will be saved but not referenced yet within searches. To reference your Integration Statement, you will need to validate the current steps
assertText register:confirmationModalPanelDecoration:StatusConfirmationPanel_body Your Integration Statement will be saved but not referenced yet within searches. To reference your Integration Statement, you will need to validate the current steps : - No Integration Statement can be found through entered URL
clickAndWait register:confirmationModalPanelDecoration:integrationStatementConfirmationStatusModalPanelButton
assertTextPresent Integration Statement Status : Integration Statement is not yet referenced within ProductRegistry - No Integration Statement can be found through entered URL
assertText //table[@id='editSystemSummary:integrationStatementStatusNOKPanelGrid']/tbody/tr/td[5]/span - No Integration Statement can be found through entered URL
assertTextPresent AAAAAKeyword
assertText secondCellSpan AAAAAKeyword
assertValue editSystemSummary:systemSummaryForm:nameDecoration:systemname AAAAAPACS
assertValue editSystemSummary:systemSummaryForm:versionDecoration:version 1.2.3
assertValue editSystemSummary:systemSummaryForm:integrationStatementUrlDecoration:version exact:http://www.ihe.net
click editSystemSummary:systemSummaryForm:integrationStatementDateDecoration:j_id113InputDate
assertValue editSystemSummary:systemSummaryForm:integrationStatementDateDecoration:j_id113InputDate Feb 12, 2009
click editSystemSummary:systemSummaryForm:editSystemSummarySaveSystemButton
assertText //div[@id='content']/ul/li[1] Information corresponding to this system AAAAAPACS have been successfully updated.
assertTextPresent Information corresponding to this system AAAAAPACS have been successfully updated.
assertText //div[@id='content']/ul/li[2] Information: This URL is currently unreachable. No Integration Statements have been found.
assertTextPresent Information: This URL is currently unreachable. No Integration Statements have been found.
clickAndWait j_id288:editReturnToSystemListButton
assertTextPresent AAAAAPACS
assertText link=AAAAAPACS AAAAAPACS
click selectInstitution:systemManagerBean:0:institutionSystemVersionColumn
assertTextPresent 1.2.3
assertText selectInstitution:systemManagerBean:0:institutionSystemVersionColumn 1.2.3
assertTextPresent AAAAAUsername
assertText selectInstitution:systemManagerBean:0:institutionSystemOwnerUserColumn AAAAAUsername
clickAndWait selectInstitution:systemManagerBean:0:viewCurrentInstitutionSystemButton
assertTextPresent AAAAAKeyword
assertText secondCellSpan AAAAAKeyword
assertTextPresent AAAAAPACS
assertText //div[2]/div/table/tbody/tr/td[2]/span AAAAAPACS
assertTextPresent PACS - Image Manager and Image Archive
assertText spanInvalidErrors PACS - Image Manager and Image Archive
assertTextPresent 1.2.3
assertText //div[4]/div/table/tbody/tr/td[2]/span 1.2.3
assertTextPresent http://www.ihe.net
assertText link=exact:http://www.ihe.net exact:http://www.ihe.net
assertTextPresent 2009-02-12 00:00:00.0
assertText //div[8]/div/table/tbody/tr/td[2]/span 2009-02-12 00:00:00.0
clickAndWait j_id128:editIntegrationStatementButton
assertTextPresent AAAAAKeyword
assertText secondCellSpan AAAAAKeyword
assertValue editSystemSummary:systemSummaryForm:nameDecoration:systemname AAAAAPACS
assertValue editSystemSummary:systemSummaryForm:versionDecoration:version 1.2.3
assertValue editSystemSummary:systemSummaryForm:integrationStatementUrlDecoration:version exact:http://www.ihe.net
click editSystemSummary:systemSummaryForm:integrationStatementDateDecoration:j_id113InputDate
assertValue editSystemSummary:systemSummaryForm:integrationStatementDateDecoration:j_id113InputDate Feb 12, 2009
clickAndWait j_id288:editReturnToSystemListButton