AddPortletOpenSocialGadgetTest
open /web/guest/home/
waitForElementPresent link=OpenSocial Test Page
clickAtAndWait link=OpenSocial Test Page
assertPartialText //a[@id='_145_addApplication'] More
clickAt //a[@id='_145_addApplication'] More
waitForElementPresent //div[@title='Hello World!']/p/a
clickAt //div[@title='Hello World!']/p/a
waitForElementPresent //header/h1/span
assertText //header/h1/span Hello World!
pause 5000
selectFrame //iframe[@class="aui-gadget"]
assertText //body Hello, world!
selectFrame relative=top