attachFileTestWebpage
open restAPI/systemLog?token=dolog&level=INFO&message=----- Selenium attachFileTestWebpage
open logout
open
type username Administrator
type password Administrator
clickAndWait Submit
verifyTextPresent You are logged as 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}
click //img[@title="Attach a file"]
waitForPageToLoad 15000
verifyTextPresent opera-singer