| open |
/ecmdemo/public/acme/ |
|
| windowMaximize |
|
|
| echo |
-- Login |
|
| waitForElementPresent |
link=Login |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| clickAndWait |
//a[@href='/ecmdemo/private/acme/siteExplorer'] |
|
| echo |
--Open driver pane |
|
| waitForElementPresent |
//div[@title='Show Drives'] |
|
| click |
//div[@title='Show Drives'] |
|
| echo |
--Open Private driver |
|
| waitForElementPresent |
link=Private |
|
| click |
link=Private |
|
| echo |
-Go to Admin View |
|
| waitForElementPresent |
//a[@title='Admin View'] |
|
| click |
//a[@title='Admin View'] |
|
| pause |
10000 |
|
| echo |
-- Go to Action tab |
|
| waitForElementPresent |
link=Actions |
|
| click |
link=Actions |
|
| pause |
10000 |
|
| echo |
--Add Podcast |
|
| waitForElementPresent |
link=Add Document |
|
| click |
link=Add Document |
|
| pause |
10000 |
|
| waitForElementPresent |
selectTemplate |
label=Podcast |
| select |
selectTemplate |
label=Podcast |
| pause |
10000 |
|
| waitForElementPresent |
name |
|
| type |
name |
Podcast |
| type |
title |
Test_SNF_ECMS_29 |
| type |
link |
http://www.ecms29.com |
| type |
author |
Test_SNF_ECMS_29 |
| waitForElementPresent |
link=Save as Draft |
|
| click |
link=Save as Draft |
|
| pause |
10000 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| pause |
10000 |
|
| echo |
--Edit Podcast |
|
| waitForElementPresent |
link=Podcast |
|
| click |
link=Podcast |
|
| waitForElementPresent |
link=Edit Document |
|
| click |
link=Edit Document |
|
| waitForElementPresent |
description |
|
| type |
description |
Test_SNF_ECMS_29 |
| waitForElementPresent |
link=Save as Draft |
|
| click |
link=Save as Draft |
|
| pause |
10000 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| pause |
10000 |
|
| echo |
--Delete |
|
| waitForElementPresent |
link=Podcast |
|
| mouseDownRight |
link=Podcast |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| waitForElementPresent |
//div[@id='UIPopupWindow']//a[text()='OK'] |
|
| click |
//div[@id='UIPopupWindow']//a[text()='OK'] |
|
| pause |
10000 |
|
| waitForElementNotPresent |
link=Podcast |
|
| verifyElementNotPresent |
link=Podcast |
|
| echo |
-- Log out |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|