| open |
/ecmdemo/public/acme/ |
|
| windowMaximize |
|
|
| echo |
-- Login |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
-- Go to Sites Explorer |
|
| 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 folder |
|
| waitForElementPresent |
link=Add Folder |
|
| click |
link=Add Folder |
|
| waitForElementPresent |
name |
|
| type |
name |
YKhue |
| click |
link=Save |
|
| pause |
10000 |
|
| waitForElementPresent |
link=Add Folder |
|
| click |
link=Add Folder |
|
| waitForElementPresent |
name |
|
| type |
name |
LinhNhi |
| click |
link=Save |
|
| pause |
10000 |
|
| echo |
-- Copy folder1 to folder2 |
|
| waitForElementPresent |
link=LinhNhi |
|
| mouseDownRight |
link=LinhNhi |
|
| pause |
10000 |
|
| waitForElementPresent |
link=Cut |
|
| click |
link=Cut |
|
| pause |
10000 |
|
| waitForElementPresent |
link=YKhue |
|
| mouseDownRight |
link=YKhue |
|
| waitForElementPresent |
link=Paste |
|
| click |
link=Paste |
|
| pause |
10000 |
|
| echo |
-- Check YKhue is cut |
|
| waitForElementNotPresent |
link=LinhNhi |
|
| verifyElementNotPresent |
link=LinhNhi |
|
| echo |
-- Check YKhue in LinhNhi |
|
| waitForElementPresent |
link=YKhue |
|
| click |
link=YKhue |
|
| waitForElementPresent |
//a[text()='LinhNhi'] |
|
| verifyElementPresent |
//a[text()='LinhNhi'] |
|
| mouseDownRight |
link=YKhue |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| waitForElementPresent |
//div[@id='UIPopupWindow']/div/div[2]/div/div/div/div/div/div/div/div[2]/table/tbody/tr/td/div[1]/div/div/div |
|
| click |
//div[@id='UIPopupWindow']/div/div[2]/div/div/div/div/div/div/div/div[2]/table/tbody/tr/td/div[1]/div/div/div |
|
| pause |
3000 |
|
| waitForElementNotPresent |
link=LinhNhi |
|
| waitForElementNotPresent |
link=LinhNhi |
|
| waitForElementNotPresent |
link=YKhue |
|
| waitForElementNotPresent |
link=YKhue |
|
| echo |
-- Logout |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|