Does anyone know how to create a file using a Robot framework?
I am trying to use "Run" or "Run the process" to start the source, but it looks like the environment variables set in the source file are not saved.
eg.
${out} | Run Process | source | set_config.sh | shell=True ${out} | Run Process | check_env_vars.pl
Check_env_vars.pl returns an error message in which the charters of the environment have not yet been established, although they were set on the previous line. Any suggestion on how to do this?
Thanks in advance!
, " " , , .
*** Settings *** Library Process Library OperatingSystem *** Test Cases *** sample Set Environment Variable VAR 2 Run Process sh Sample2.sh
Sample.sh :
echo $VAR > console.txt
env, robotframework, Sample2.sh. , "check_env_vars.pl", .
, !
Source: https://habr.com/ru/post/1673562/More articles:Debugging python dump file in windbg - pythonhow to edit javascript in HTML in Chrome Dev Tools - javascriptКак работает отформатированный ответ json от SQL Server? - jsonRatchet Stores the connection of the user and the message being sent outside the server instance - phpReplace for loop using vector operation - pythonWhitelisted script link list with csp sha-256 in Firefox - javascriptA shorter way to test a range for a specific string is vbaJQuery + Bootstrap navigation bar - how to highlight a link when visiting - jqueryAbsolute bottom positioning does not work properly in Edge and IE - htmlAdd line number to existing HTML - htmlAll Articles