Skip to content

Conversation

@nesies
Copy link

@nesies nesies commented Aug 24, 2020

resolve variables from environnement only when needed, not at start.
This way, it is not mandatory to execute RobotFramework with environ variables set.

*** Settings ***
Resource variables.robot

*** Keywords ***
test lazy
Set Environment Variable SNOW_TEST_URL host_or_url
Set Environment Variable SNOW_REST_USER l0g1n
Set Environment Variable SNOW_REST_PASS p4ssw0rd
# will re-get environ variables
Snow Reset Client
Get Snow Instance
Query Table Is sc_req_item
Required Query Parameter Is number EQUALS SRV123
Execute Query

@nesies nesies force-pushed the lazy_eval_environ branch 3 times, most recently from 0d86b71 to cc9088e Compare August 28, 2020 10:46
@nesies nesies force-pushed the lazy_eval_environ branch from cc9088e to e5826be Compare August 28, 2020 16:05
@nesies nesies force-pushed the lazy_eval_environ branch from e5826be to 7628372 Compare August 31, 2020 08:37
@nesies nesies changed the title Lazy get environ variables RESTClient / Lazy get environ variables and multiple accounts Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant