open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium attachFileTestWebpage |
|
setTimeout |
30000 |
|
open |
logout |
|
open |
|
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
Administrator |
|
open |
site/sites/testWebSite1 |
|
waitForPageToLoad |
15000 |
|
clickAndWait |
link=testWebPage1 |
|
retrieveTestFolderPath |
|
|
storeExpression |
javascript{storedVars.testfolderpath + 'opera-singer.txt';} |
filepath |
echo |
${filepath} |
|
type |
//input[@id="file_to_add"] |
${filepath} |
clickAndWait |
//input[@value='Attach file'] |
|
verifyTextPresent |
opera-singer |
|