Hi, still learning here. I would like to save my output location into a folder. Currently I set a variables and save the file.
In my excel I want to save it to the location from excel.
LocationPath
C:/xxx/file.xlsx
*** Variables ***
${filename} file.xlsx
${path} C:/xxx
*** Tasks ***
mytask
${parameters}= Get Parameters
Open URL
*** Keywords ***
Get Parameters
Open Workbook ${excel}
${table}= Read Worksheet As Table header=True
Close Workbook
RETURN ${table}
Open URL
Set Download Directory ${path}
I try to write something like this but giving me error
*** Tasks ***
mytask
${parameters}= Get Parameters
Open URL
FOR ${item} IN @{parameters}
Input Parameters ${item}
Download Location ${file} ${item}[LocationPath]
END
Download Location
[Arguments] ${file} ${item}
Set Download Directory ${item}[LocationPath]
Error: Dictionary ‘${item}’ has no key ‘LocationPath’.