open |
logout |
|
open |
|
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as Administrator |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class="langSubmit"] |
|
open |
site/sites/testwebsite1 |
|
waitForPageToLoad |
15000 |
|
clickAndWait |
link=testWebPage1 |
|
retrieveTestFolderPath |
|
|
storeExpression |
javascript{storedVars.testfolderpath + 'opera-singer.txt';} |
filepath |
type |
//input[@id="file_to_add"] |
${filepath} |
click |
//img[@title="Attach a file"] |
|
waitForPageToLoad |
15000 |
|
verifyTextPresent |
opera-singer |
|