Test_SNF_01_015
open /ksdemo/public/classic/
windowMaximize
echo Step 1: Show Add new category form
waitForElementPresent link=Sign in
click link=Sign in
waitForElementPresent username
type username root
type password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']/div/div/div/a
waitForElementPresent //div[@id='PortalNavigationTopContainer']/div[4]/div/div/div/div/div/div/a
clickAndWait //div[@id='PortalNavigationTopContainer']/div[4]/div/div/div/div/div/div/a
waitForElementPresent link=Category
click link=Category
waitForElementPresent link=Add category
mouseDownRight link=Add category
echo Step 2: Add new category
waitForElementPresent eventCategoryName
type eventCategoryName Test_ANS_01_015
type description Add new category with invalid order value
waitForElementPresent userPrivate
type userPrivate mary
echo top one
waitForElementPresent index
type index addd
waitForElementPresent link=Save
click link=Save
waitForText //div[2]/div[2]/div/div/div/div/div[2] "Order" should be a number.
verifyText //div[2]/div[2]/div/div/div/div/div[2] "Order" should be a number.
waitForElementPresent //div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div
click //div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div
waitForElementPresent //div[@id='UIAnswersPopupWindow']/div/div[1]/div/div/div/div[2]/div
click //div[@id='UIAnswersPopupWindow']/div/div[1]/div/div/div/div[2]/div
waitForTextNotPresent Test_ANS_01_015
verifyTextNotPresent Test_ANS_01_015
clickAndWait link=Sign out
waitForElementPresent //div[@id='PortalNavigationTopContainer']/div[4]/div/div/div/div/div/div/a
clickAndWait //div[@id='PortalNavigationTopContainer']/div[4]/div/div/div/div/div/div/a
waitForTextNotPresent Test_ANS_01_015
verifyTextNotPresent Test_ANS_01_015