Test_POR_19_013_CompleteStep1InCreatePageWithNodeNameContainsSpaceOrSpecialChars
open /portal/public/classic/
echo -- Complete step 1 in Create page with Node Name contains space/special characters
windowMaximize
click link=Sign in
waitForElementPresent username
type username root
type password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']/div/div/div/a
echo -- Add new page contains special characters --
waitForElementPresent link=Add New Page
click link=Add New Page
waitForElementPresent //div[@id='UIPageNodeSelector']/div/div/div[2]/div/div/div/div[1]/a
click //div[@id='UIPageNodeSelector']/div/div/div[2]/div/div/div/div[1]/a
waitForElementPresent pageName
type pageName $@$@$
type pageDisplayName Test_POR_19_013
click //div[@id='UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div/table/tbody/tr/td/div[2]/div/div/div
waitForTextPresent Only alpha, digit, dash and underscore characters allowed for the field "Node Name".
verifyTextPresent Only alpha, digit, dash and underscore characters allowed for the field "Node Name".
click link=OK
echo -- Add new page contains space characters --
type pageName Test POR 19 013
type pageDisplayName Test POR 19 013
click //div[@id='UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div/table/tbody/tr/td/div[2]/div/div/div
waitForTextPresent Only alpha, digit, dash and underscore characters allowed for the field "Node Name".
verifyTextPresent Only alpha, digit, dash and underscore characters allowed for the field "Node Name".
click link=OK
click //div[@id='UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div/table/tbody/tr/td/div[1]/div/div/div
clickAndWait link=Sign out