Test_SNF_ECMS_18_ViewContentofCategory_ecmdemo
open /portal/public/default/
windowMaximize
clickAndWait link=Visit the Acme Website
echo -- Log in
waitForElementPresent link=Login
click link=Login
waitForElementPresent username
type username root
type password gtn
clickAndWait link=Sign in
echo -- Site Explorer
clickAndWait //a[@href='/portal/private/acme/siteExplorer']
echo -- Browse all drives
waitForElementPresent //div[@title='Show Drives']
click //div[@title='Show Drives']
echo --  Sites Management
waitForElementPresent link=Sites Management
click link=Sites Management
echo --  acme
waitForElementPresent //a[text()='acme' and @style='cursor: pointer;']
click //a[text()='acme' and @style='cursor: pointer;']
echo --  events
waitForElementPresent link=events
click link=events
echo --  events/All
waitForElementPresent link=All
click link=All
echo --   Click on any category: Air
waitForElementPresent link=Air
click link=Air
echo --   Air/Power 4 - Flying
waitForElementPresent link=Power 4 - Flying
click link=Power 4 - Flying
echo --  The content is displayed
waitForTextPresent In traditional cultures, air is often seen as a universal power or pure substance. Its fundamental importance to life can be seen in words such as aspire, inspire, perspire, and spirit, all derived from the Latin spirare ("to breathe").
verifyTextPresent In traditional cultures, air is often seen as a universal power or pure substance. Its fundamental importance to life can be seen in words such as aspire, inspire, perspire, and spirit, all derived from the Latin spirare ("to breathe").
echo -- Logout
waitForElementPresent link=Logout
clickAndWait link=Logout