uploadfile
store | /tmp/Mahnahmahna.mpg | path1
store | arquivoNaoExistente/tmp | path2
store | Mahnahmahna.mpg | filename1
store | arquivoNaoExistente/tmp | filename2
open | /GVC |
clickAndWait | link=Upload |
clickAndWait | uploadForm:uploadButton |
assertTextPresent | Validation Error "fileupload": Value is required. |
open | /GVC/pages/home.jsf |
clickAndWait | link=Upload |
type | id=uploadForm:fileupload | ${path1}
clickAndWait | uploadForm:uploadButton |
assertTextPresent | File uploaded succesfully! |
open | /GVC/pages/home.jsf |
clickAndWait | link=Upload |
type | uploadForm:fileupload | ${path2}
clickAndWait | uploadForm:uploadButton |
assertTextPresent | MISSING: fileUploadForm.errorStatus :MISSING |
clickAndWait | link=Convert |
assertTextPresent | ${filename1} |
assertTextNotPresent | ${filename2} |
clickAndWait | link=Download |
assertTextPresent | ${filename1} |
assertTextNotPresent | ${filename2} |