| open |
/portal/public/default/ |
|
| windowMaximize |
|
|
| clickAndWait |
link=Visit the Acme Website |
|
| echo |
-- Log in |
|
| click |
link=Login |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
-- Site Explorer |
|
| clickAndWait |
//a[@href='/portal/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'] |
|
| echo |
-- Go to Action tab |
|
| waitForElementPresent |
link=Actions |
|
| click |
link=Actions |
|
| echo |
-- Add folder |
|
| waitForElementPresent |
link=Add Folder |
|
| click |
link=Add Folder |
|
| waitForElementPresent |
name |
|
| type |
name |
YKhue |
| click |
link=Save |
|
| waitForElementPresent |
link=Add Folder |
|
| click |
link=Add Folder |
|
| waitForElementPresent |
name |
|
| type |
name |
LinhNhi |
| click |
link=Save |
|
| echo |
-- Copy folder1 to folder2 |
|
| waitForElementPresent |
link=LinhNhi |
|
| mouseDownRight |
link=LinhNhi |
|
| waitForElementPresent |
link=Cut |
|
| click |
link=Cut |
|
| waitForElementPresent |
link=YKhue |
|
| mouseDownRight |
link=YKhue |
|
| waitForElementPresent |
link=Paste |
|
| click |
link=Paste |
|
| 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 |
|
| echo |
-- Logout |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|