SetupThemesTest
waitForElementPresent document.getElementById('my-community-private-pages')
clickAndWait document.getElementById('my-community-private-pages')
waitForElementPresent //input[@value='Add Community']
clickAndWait //input[@value='Add Community']
waitForElementPresent _29_name
type _29_name Themes Testing
waitForElementPresent _29_description
type _29_description Themes Testing Community
clickAndWait //input[@value='Save']
clickAndWait link=Available Communities
click //strong/span
clickAndWait //body/div[2]/ul/li[2]/a
clickAndWait link=Export / Import
waitForElementPresent link=Import
clickAndWait link=Import
waitForElementPresent _29_importFileName
type _29_importFileName L:\portal\build\portal-web\test\com\liferay\portalweb\portal\theme\setupthemes\ThemesTestingSetup.lar
waitForElementPresent link=More Options »
click link=More Options »
click _29_DELETE_MISSING_LAYOUTSCheckbox
click _29_DELETE_PORTLET_DATA
click _29_mirror
click _29_alwaysCurrentUserId
clickAndWait //input[@value='Import']
clickAndWait link=Pages
clickAndWait link=Settings
clickAndWait link=Virtual Host
waitForElementPresent _29_friendlyURL /themetesting
type _29_friendlyURL /themetesting
clickAndWait //input[@value='Save']
open web/themetesting/testpage06
waitForElementPresent link=Add Comment
click link=Add Comment
waitForElementPresent _107_postReplyBody0
typeKeys _107_postReplyBody0 Comment 1
clickAndWait _107_postReplyButton0
waitForElementPresent link=Add Comment
click link=Add Comment
waitForElementPresent _107_postReplyBody0
typeKeys _107_postReplyBody0 Comment 2
clickAndWait _107_postReplyButton0
waitForElementPresent //tr[5]/td[2]/table[1]/tbody/tr/td[2]/span/a[2]
click //tr[5]/td[2]/table[1]/tbody/tr/td[2]/span/a[2]
waitForElementPresent _107_postReplyBody2
typeKeys _107_postReplyBody2 Comment 3
clickAndWait _107_postReplyButton2
waitForElementPresent //tr[5]/td[2]/table[1]/tbody/tr/td[2]/span/a[2]
click //tr[5]/td[2]/table[1]/tbody/tr/td[2]/span/a[2]
waitForElementPresent _107_postReplyBody2
typeKeys _107_postReplyBody2 Comment 4
clickAndWait _107_postReplyButton2