Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to use ci variables in python robot

# The BuiltIn library has a keyword for that.
from robot.libraries.BuiltIn import BuiltIn

def get_results_path():
    return BuiltIn().get_variable_value("${RESULTS_PATH}")
 
PREVIOUS NEXT
Tagged: #ci #variables #python #robot
ADD COMMENT
Topic
Name
6+9 =