esam_testing_szenario6
open /pubman/faces/HomePage.jsp
clickAndWait form1:Header:lnkSubmission
clickAndWait lnkSubmission_lnkImport
clickAndWait //a[text()='PubMan Test Collection']
waitForElementPresent easySubmission:Import:selCurrentExternalServiceType
select easySubmission:Import:selCurrentExternalServiceType label=BioMed Central
waitForElementPresent easySubmission:Import:selSelectFulltext:2
click easySubmission:Import:selSelectFulltext:2
type easySubmission:Import:inpServiceID 1472-6890
clickAndWait easySubmission:Import:lnkImport
pause 5000
verifyTextPresent The identifier does not exist or the access is restricted.1472-6890
type easySubmission:Import:inpServiceID 1472-6890-9-1
clickAndWait easySubmission:Import:lnkImport
clickAndWait lnkSave
clickAndWait Header:lnkDepWorkspace
clickAndWait //a[@title='Molecular analysis of Mycobacterium isolates from extrapulmonary specimens obtained from patients in Mexico']/b
clickAndWait lnkEdit
clickAndWait btnAddTitle
select iterAlternativeTitle:0:selSelectAlternativeTitleType label=Other
type iterAlternativeTitle:0:inpAltTitleValue hello,world
type fileUploads:0:inpAddFileFromUrl http://seleniumhq.org/docs/book/Selenium_Documentation.pdf
clickAndWait fileUploads:0:btnUploadFileFromUrl
select fileUploads:0:selFileContentCategory label=Abstract
selectAndWait fileUploads:0:selFileVisibility label=Private
type locatorUploads:0:inpAddUrl http://de.wikipedia.org/wiki
clickAndWait locatorUploads:0:btnSaveUrl
select locatorUploads:0:selLocatorContentCategory label=Any fulltext
type fileUploads:0:inpFileDescription American Science
type fileUploads:0:fileLicenseDate 2010
clickAndWait lnkSaveAndSubmit
clickAndWait lnkSave
clickAndWait lnkRelease
clickAndWait lnkRelease
clickAndWait Header:lnkDepWorkspace
clickAndWait //a[@title='Molecular analysis of Mycobacterium isolates from extrapulmonary specimens obtained from patients in Mexico']/b