esam_testing_szenario5.1_5
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=PubMedCentral
click easySubmission:Import:selSelectFulltext:0
type easySubmission:Import:inpServiceID PMC2850461
clickAndWait easySubmission:Import:lnkImport
verifyTextPresent The identifier does not exist or the access is restricted.PMC2850461
type easySubmission:Import:inpServiceID PMC2656788
clickAndWait easySubmission:Import:lnkImport
clickAndWait lnkSave
clickAndWait Header:lnkDepWorkspace
clickAndWait //a[@title='Management of distal tibial medial malleolus type-6 physeal fractures']/b
clickAndWait lnkEdit
clickAndWait fileUploads:0:btnAddFile
type fileUploads:1:inpAddFileFromUrl http://seleniumhq.org/docs/book/Selenium_Documentation.pdf
clickAndWait fileUploads:1:btnUploadFileFromUrl
select fileUploads:1:selFileContentCategory label=Abstract
select fileUploads:1:selFileVisibility label=Public
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
click //button[@type='button']
click cc_js_nc
click //button[@type='button' and @onclick="$(this).parents('.licenseArea').find('.licenseURL').val($(this).parents('.messageArea').find('#cc_js_result_uri').val());       
     $(this).parents('.messageArea').addClass('noDisplay');"]
clickAndWait lnkSaveAndSubmit
clickAndWait lnkSave
clickAndWait lnkRelease
type //div[@id='content']/div[2]/div[1]/div[2]/div/div[3]/span/textarea test PubMed with fulltext
clickAndWait lnkRelease
type Header:quickSearchString Management of distal tibial medial malleolus type-6 physeal fractures
clickAndWait Header:btnQuickSearchStart
verifyTextPresent Management of distal tibial medial malleolus type-6 physeal fractures
clickAndWait Header:lnkDepWorkspace
type Header:quickSearchString Management of distal tibial medial malleolus type-6 physeal fractures
click Header:quickSearchCheckBox
clickAndWait Header:btnQuickSearchStart
verifyTextPresent Management of distal tibial medial malleolus type-6 physeal fractures