importPDF | ||
setTimeout | 120000 | |
open | /nuxeo/logout | |
open | /nuxeo/login.jsp | |
type | username | jdoe |
type | password | password |
clickAndWait | Submit | |
pause | 500 | |
verifyTextPresent | Default domain | |
verifyTextPresent | jdoe | |
clickAndWait | Link=Workspaces | |
clickAndWait | link=TestWorkspace | |
click | link=Import a file | |
retrieveTestFolderPath | ||
storeExpression | javascript{storedVars.testfolderpath +'/samples/original.pdf';} | filepath |
echo | ${filepath} | |
type | importFileRichUploadForm:upload:file | ${filepath} |
pause | 2000 | |
clickAndWait | //input[@value='Upload'] | |
verifyTextPresent | original.pdf | |
open | /nuxeo/logout |