Test_POR_19_014_CompleteStep1InCreatePageWithNodeNameLessThan3OrOver30Chars
open /portal/public/classic/
echo -- Complete step 1 in Create page  with Node Name less than 3 or over 30 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 with Node Name less than 3 chars --
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 PO
type pageDisplayName Test_POR_19_014
click //div[@id='UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div/table/tbody/tr/td/div[2]/div/div/div
waitForTextPresent The length of the text in field "Node Name" must be between "3" and "30" characters
verifyTextPresent The length of the text in field "Node Name" must be between "3" and "30" characters
click link=OK
echo -- Add new page with Node Name over 30 chars --
type pageName Test_POR_19_014Test_POR_19_014 Test_POR_19_014 Test_POR_19_014 Test_POR_19_014
type pageDisplayName Test_POR_19_014
click //div[@id='UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div/table/tbody/tr/td/div[2]/div/div/div
waitForTextPresent The length of the text in field "Node Name" must be between "3" and "30" characters
verifyTextPresent The length of the text in field "Node Name" must be between "3" and "30" characters
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