AddWrongTypeDocumentTest
waitForElementPresent link=Document Library Test Page
clickAtAndWait link=Document Library Test Page
clickAtAndWait link=Test1 Folder1
clickAtAndWait link=Test1 Subfolder1
clickAtAndWait //input[@value='Add Document']
waitForElementPresent link=Use the classic uploader.
click link=Use the classic uploader.
waitForElementPresent _20_file
type _20_file L:\portal\build\portal-web\test\com\liferay\portalweb\portlet\documentlibrary\dependencies\test_document.invalid
assertAlert Document names must end with one of the following extensions: .bmp, .css, .doc, .docx, .dot, .gif, .gz, .htm, .html, .jpg, .js, .lar, .odb, .odf, .odg, .odp, .ods, .odt, .pdf, .png, .ppt, .pptx, .rtf, .swf, .sxc, .sxi, .sxw, .tar, .tiff, .tgz, .txt, .vsd, .xls, .xlsx, .xml, .zip, .jrxml