| open |
/ksdemo/public/classic/ |
|
| windowMaximize |
|
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| open |
/ksdemo/private/classic/forum |
|
| echo |
-Add BBC- |
|
| waitForElementPresent |
//div[@id='Administrations']//a[text()='Administration'] |
|
| click |
//div[@id='Administrations']//a[text()='Administration'] |
|
| waitForElementPresent |
//div[@id='Administrations']//span[text()='BBCodes'] |
|
| click |
//div[@id='Administrations']//span[text()='BBCodes'] |
|
| waitForElementPresent |
link=Add BBCode |
|
| click |
link=Add BBCode |
|
| waitForElementPresent |
TagName |
|
| type |
TagName |
BCC |
| type |
Replacement |
BCCRepace |
| type |
Description |
BBCDesc |
| type |
Example |
BBCEx |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForTextPresent |
BCC |
|
| verifyTextPresent |
BCC |
|
| verifyTextPresent |
BBCDesc |
|
| echo |
-Edit BBC- |
|
| waitForElementPresent |
//td[text()='BBCDesc']/following-sibling::td/div/div[contains(@onclick,'EditBBCode')] |
|
| click |
//td[text()='BBCDesc']/following-sibling::td/div/div[contains(@onclick,'EditBBCode')] |
|
| waitForElementPresent |
Description |
|
| type |
Description |
Description added |
| type |
Example |
[I]This text is added[/I] |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForTextPresent |
Description added |
|
| verifyTextPresent |
Description added |
|
| echo |
-Remove BBC- |
|
| waitForElementPresent |
//td[text()='Description added']/following-sibling::td/div/div[contains(@onclick,'DeleteBBCode')] |
|
| click |
//td[text()='Description added']/following-sibling::td/div/div[contains(@onclick,'DeleteBBCode')] |
|
| assertConfirmation |
Are you sure to delete this BBCode? |
|
| waitForTextNotPresent |
Description added |
|
| verifyTextNotPresent |
Description added |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|