ViewOrganizationTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Organizations
pause 5000
store eval(selenium.isVisible('link=« Basic')) basicVisible
gotoIf !${basicVisible} BasicNotVisible
clickAt link=« Basic
label BasicNotVisible
type _126_keywords organization sample test
clickAtAndWait //input[@value='Search']
pause 5000
clickAt //strong/a
waitForElementPresent link=Assign Members
clickAtAndWait link=Assign Members
assertText //tr[@class='portlet-section-body results-row last']/td[2] Joe Bloggs
assertText //tr[@class='portlet-section-body results-row last']/td[3] joebloggs
waitForElementPresent _126_TabsBack
clickAtAndWait _126_TabsBack
pause 5000
clickAt //strong/a
waitForElementPresent link=View Users
clickAtAndWait link=View Users
assertText //tr[@class='portlet-section-body results-row last']/td[2] Joe
assertText //tr[@class='portlet-section-body results-row last']/td[3] Bloggs
assertText //tr[@class='portlet-section-body results-row last']/td[4] joebloggs
assertText //tr[@class='portlet-section-body results-row last']/td[5]
assertText //tr[@class='portlet-section-body results-row last']/td[6] Liferay Los Angeles, Liferay, Inc., Organization Sample Test