open |
/portal/public/classic/ |
|
echo |
-- Add new category with Display 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 |
|
clickAndWait |
link=Application Registry |
|
echo |
-- Add new category with Display name less than 3 characters -- |
|
waitForElementPresent |
//div[1]/div/div/div/div/div/div/div/div[2]/div[2]/div[1]/div[1]/div[1] |
|
click |
//div[1]/div/div/div/div/div/div/div/div[2]/div[2]/div[1]/div[1]/div[1] |
|
waitForElementPresent |
name |
|
type |
name |
Test_PLT_05_01_011 |
type |
displayName |
PL |
type |
description |
Test_PLT_05_01_011 |
echo |
-- Choose Permission Setting -- |
|
waitForElementPresent |
//div[2]/div[2]/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/div |
|
click |
//div[2]/div[2]/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/div |
|
waitForElementPresent |
link=Add Permission |
|
click |
link=Add Permission |
|
waitForElementPresent |
link=Partners |
|
click |
link=Partners |
|
waitForElementPresent |
link=exact:* |
|
click |
link=exact:* |
|
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
waitForTextPresent |
The length of the text in field "Display Name: " must be between "3" and "30" characters. |
|
verifyTextPresent |
The length of the text in field "Display Name: " must be between "3" and "30" characters. |
|
waitForElementPresent |
//div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a |
|
click |
//div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a |
|
waitForElementPresent |
link=Cancel |
|
click |
link=Cancel |
|
echo |
-- Add new category with Display name over 30 characters -- |
|
waitForElementPresent |
//div[1]/div/div/div/div/div/div/div/div[2]/div[2]/div[1]/div[1]/div[1] |
|
click |
//div[1]/div/div/div/div/div/div/div/div[2]/div[2]/div[1]/div[1]/div[1] |
|
waitForElementPresent |
name |
|
type |
name |
Test_PLT_05_01_011 |
type |
displayName |
Test_PLT_05_01_011 Test_PLT_05_01_011Test_PLT_05_01_011Test_PLT_05_01_011Test_PLT_05_01_011Test_PLT_05_01_011 |
type |
description |
Test_PLT_05_01_011 |
echo |
-- Choose Permission Setting -- |
|
waitForElementPresent |
//div[2]/div[2]/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/div |
|
click |
//div[2]/div[2]/div/div/div/div/div/div/div/div/div/div[2]/div/div/div/div |
|
waitForElementPresent |
link=Add Permission |
|
click |
link=Add Permission |
|
waitForElementPresent |
link=Customers |
|
click |
link=Customers |
|
waitForElementPresent |
link=member |
|
click |
link=member |
|
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
waitForTextPresent |
The length of the text in field "Display Name: " must be between "3" and "30" characters. |
|
verifyTextPresent |
The length of the text in field "Display Name: " must be between "3" and "30" characters. |
|
waitForElementPresent |
//div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a |
|
click |
//div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a |
|
waitForElementPresent |
link=Cancel |
|
click |
link=Cancel |
|
clickAndWait |
link=Sign out |
|