attacheFile3_1 | ||
storeHtmlSource | attach_1 | |
store | c:\tst.txt | file_path |
store | /OA_HTML/RF.jsp?function_id=1015448&resp_id=50559&resp_appl_id=222&security_group_id=0&lang_code=US¶ms=osALW.S3FKjLCX9HSyqglHA4-BQFsYLUWjQ8RYTWN6j-QnfHxXVzq8cyVemtWcKhhxYKRpKoHmaCGfjnP3cUIALKYf8MbFV7kp640skEoMFWDtHN6ekOvyXHQXxEQEbBZIgHfPU5M.g8W.EiyyOGrA | hyperlink |
open | ${hyperlink} | |
storehtmlSource | attach_2 | |
assertTitle | GFM Upload Page | |
type | id=Upload_oafileUpload | ${file_path} |
clickAndWait | id=Submit | |
storeHtmlSource | attach_3 | |
storeElementPresent | css=h1.x5r | errorMsgExists |
if | ${errorMsgExists} == true | |
storeText | css=div.x3z | errorMsg |
echo | ${errorMsg} | |
else | ||
storeText | css=h1.x76 | successMsg |
endIf |