| open |
/ecmdemo/public/acme/ |
|
| windowMaximize |
|
|
| echo |
-- Log in |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
-- Open configuration form |
|
| waitForElementPresent |
link=News |
|
| click |
link=News |
|
| pause |
5000 |
|
| waitForElementPresent |
EditingOptions |
|
| select |
EditingOptions |
label=Edit |
| echo |
-- Content Detail Preferences |
|
| waitForElementPresent |
//div[2]/div/div/div[1]/div[1]/div/div/div/div/div[1]/a |
|
| mouseOver |
//div[2]/div/div/div[1]/div[1]/div/div/div/div/div[1]/a |
|
| click |
//div[2]/div/div/div[1]/div[1]/div/div/div/div/div[1]/a |
|
| echo |
-- show title |
|
| waitForElementPresent |
UISCVShowTitleConfigurationCheckBox |
|
| check |
UISCVShowTitleConfigurationCheckBox |
|
| echo |
-- show date |
|
| waitForElementPresent |
UISCVShowDateConfigurationCheckBox |
|
| check |
UISCVShowDateConfigurationCheckBox |
|
| echo |
-- show Option Bar |
|
| waitForElementPresent |
UISCVShowOptionBarConfigurationCheckBox |
|
| check |
UISCVShowOptionBarConfigurationCheckBox |
|
| echo |
-- Configuration |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| echo |
-- Verify result is showed |
|
| waitForTextPresent |
ACME Navigation |
|
| verifyTextPresent |
ACME Navigation |
|
| waitForTextPresent |
21.08.2009 | 01h08 |
|
| verifyTextPresent |
21.08.2009 | 01h08 |
|
| waitForElementPresent |
link=Print |
|
| verifyElementPresent |
link=Print |
|
| waitForElementPresent |
//div[2]/div/div/div[1]/div[1]/div/div/div/div/div[1]/a |
|
| mouseOver |
//div[2]/div/div/div[1]/div[1]/div/div/div/div/div[1]/a |
|
| click |
//div[2]/div/div/div[1]/div[1]/div/div/div/div/div[1]/a |
|
| waitForElementPresent |
UISCVShowTitleConfigurationCheckBox |
|
| click |
UISCVShowTitleConfigurationCheckBox |
|
| waitForElementPresent |
UISCVShowDateConfigurationCheckBox |
|
| click |
UISCVShowDateConfigurationCheckBox |
|
| waitForElementPresent |
UISCVShowOptionBarConfigurationCheckBox |
|
| click |
UISCVShowOptionBarConfigurationCheckBox |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| echo |
-- Verify result is hidden |
|
| waitForTextNotPresent |
ACME Navigation |
|
| verifyTextNotPresent |
ACME Navigation |
|
| waitForTextNotPresent |
21.08.2009 | 01h08 |
|
| verifyTextNotPresent |
21.08.2009 | 01h08 |
|
| waitForTextNotPresent |
link=Print |
|
| verifyTextNotPresent |
link=Print |
|
| echo |
-- Log out |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|