Comments (3)
Hi @Anker101,
I have some questions about this:
- If I understand correctly environment variables always start with
%{
in robot framework, so I can use that to identify them? - I can make the manager evaluate the environment variable on the machine that the manager is running on, which will be fine for evaluating the robot file and identifying which files need to be transferred to the agent, the question is how to make sure the agent will have an appropriate value for this environment variable or if this environment variable even exists on the agent?
- should I expect that you will ensuring the environment variable will be set on all the agents?
- should t make the manager tell the agents to create this variable?
- should the agents set the value of the variable to the same value as on the manager?
- further if the variable value is a path and the agent is a different platform to the manager the value might not even be relevant, e.g. a value of "D:\myproject\my test case" on a windows manager obviously would have no value on a Linux or MacOS agent.
I'm leaning towards just evaluating the value when assessing the files to be transferred to the agent but not attempting to ensure the agents have this environment variable set, but would be interested in your feed back.
Something to remember the manager never runs robot framework, in fact there is no requirement to even have robot framework installed on the manager machine only on the agent machine. as such the manager needs to be updated to know how to evaluate variables, In this case the operating system environment variables should be easy enough to implement but I don't expect to be able to implement all possible variables in robot framework. I'm happy to implement this feature request as long as it's limited to just environment variables.
from rfswarm.
Hi @damies13
1 ) Yes, in Robot Framework, environment variables typically start with %{, so using this pattern to identify them should work effective
2) With an export RF_DIRECTORY done before executing the manager
3) I think it is more stable to make the manager tell the agents to create this variable
Hope it helps
Regards
from rfswarm.
- I think it is more stable to make the manager tell the agents to create this variable
Maybe I tell the agent to create it if it doesn't exist, that way we don't override it if it does exist, that would resolve the concern.
Another option might be add an option in the manager UI to tell the agent whether to create the variable or not.
from rfswarm.
Related Issues (20)
- Data Table settings not loading correctly for new section HOT 2
- SQL generator creates invalid column for Name result in Metric type of Data Graph HOT 2
- Option to tell robot not to create the html & xml logs HOT 1
- Manager Fails to transfer resources to agent when test resource link in windows uses "Resource ../../../Resource/file.robot HOT 2
- Execption error thrown continuously in rfswarm-manager terminal HOT 8
- Option in the settings to alter the behaviour to report the keyword name HOT 2
- TPS is not grouping by second but rather milisecond HOT 2
- Issue with Variable Handling on Unix-style OS HOT 4
- Reporter hangs on launch HOT 2
- RFSwarm Agent doesn't fully release memory after uploading logs to Manager HOT 3
- Incorrect Test Case Matching with Double Quotes HOT 3
- Error in Test Execution: KeyError - 'Agents' in rfswarm_manager Module HOT 3
- Results change order in the table on the run tab HOT 1
- Document options for connecting agents to manager
- Make default test group settings configurable in scenario settings HOT 1
- Add SLA's
- Icons not showing in the documentation
- rearrange documentation to make it easier to follow
- Add section for requests library `Get Resources` keyword
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rfswarm.