AddDocumentVersionTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Communities
type _134_name Document Library Document Version Community
clickAtAndWait //input[@value='Search']
clickAtAndWait //td[2]/a Open
waitForElementPresent link=Document Library Page
clickAtAndWait link=Document Library Page
clickAtAndWait //a[2]/strong Test1 Folder1
clickAt //td[5]/ul/li/strong/a
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Edit
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[2]/a Edit
waitForElementPresent _20_file
type _20_file L:\portal\build\portal-web\test\com\liferay\portalweb\portal\dbupgrade\sampledata600\documentlibrary\documentversion\dependencies\test_document2.txt
type _20_title Test2 Document2.txt
type _20_description This is test2 document2.
pause 5000
clickAtAndWait //input[@value='Save']
assertText //td[1]/a Test2 Document2.txt
This is test2 document2.
clickAtAndWait //td[1]/a
assertText //h3 Test2 Document2.txt (Version 1.1)
assertText //td[1]/a 1.0
assertText //tr[4]/td[1]/a 1.1