You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In keyword "Test Set Up" line " ${conf}= Get Environment Data ${env}" will show hint that it is not defined but is used.Variable with value will be in run script :
robot -v env:ua2 test/ui/*.robot
*** Keywords ***
Get Environment Data
[Arguments] ${envType}
${file}= Get file ./conf/env.json encoding=UTF-8
${data}= Evaluate json.loads('''${file}''') json
[Return] ${data["${envType}"]}
Test Set Up
Set Log Level TRACE
${conf}= Get Environment Data ${env}
Open Browser ${conf["ui"]["url"]} ff ff_profile_dir=${EXECDIR}/conf/profiles/ff_profile
Maximize Browser Window
Is there a way how to disable the notification or is there a better way how to provide ${env} variable and value?
The text was updated successfully, but these errors were encountered:
The one possibility is to create dummy Python file with all variables, which You want to inject by command line and add this file to red.xml section Variable files.
The dummy Python file can look like this:
ENV="ua2"
About disable notification see @michalanglart comment to issue number #17 : "1) we want to provide possibility to freely define which errors/warnings are reported and which aren't, however this task is not of highest priority as for today. You can raise an issue for this to happen and this could influence our tasks priorities :)"
In keyword "Test Set Up" line " ${conf}= Get Environment Data ${env}" will show hint that it is not defined but is used.Variable with value will be in run script :
robot -v env:ua2 test/ui/*.robot
Is there a way how to disable the notification or is there a better way how to provide ${env} variable and value?
The text was updated successfully, but these errors were encountered: