ViewDocumentTest
open /user/joebloggs/home/
waitForElementPresent link=Communities I Own
clickAtAndWait link=Communities I Own
type _29_name Document Library Document Community
clickAtAndWait //form/span/span[2]/span/input
clickAtAndWait link=Open Open
waitForElementPresent link=Document Library Page
clickAtAndWait link=Document Library Page
clickAtAndWait //a[2]/strong Test1 Folder1
waitForElementPresent //a/span/span
waitForText //a/span/span Test1 Document1.txt
assertText //a/span/span Test1 Document1.txt
waitForText //a/div This is test1 document1.
assertText //a/div This is test1 document1.