Comments (2)
Extract from discord chat:
crashfile — Today at 20:34
Robot Test Settings Resource line:
Resource ../../../Resource/Web_Client_Resource.robot
Resource location:
\AutomationTests\WebClient.Automation.Tests\Resource\Web_Client_Resource.robot
Test Location:
\WebClient.Automation.Tests\Tests\POC_Performance_Test_RF
damies13 — Today at 20:41
can you try changing that to
Resource ..${/}..${/}..${/}Resource${/}Web_Client_Resource.robot
I think I know what might be happening and changing it to that will confirm it
Resource ..\..\..\Resource\Web_Client_Resource.robot
Should work also
crashfile — Today at 20:47
both had the same result as before.
Shoud I try ../../../Resource/Web_Client_Resource.robot
as it seems you are trying to escape the /
result as before, meaning only copied 1 file in temp
damies13 — Today at 20:53
no, what I think might be happening is the manager is constructing the path to the resource files as something like c:\Cotton\klean\kanteen../../../Resource/Web_Client_Resource.robot
but windows doesn't like it when you do that, on windows all the slashes have to go the same way. I thought I'd caught all the instances of that happeining but I might have missed one
the manager knows how to handle the robot variable for ${/} which tells robot to use the system path slash \ for windows
in a robot file you need to escape \ as \ but you don't need to escape /
I was trying to get the slashes in the window style for your resource file entry to see if that was the issue
crashfile — Today at 21:01
I'm trying to run the test, and will report back on any error message that might be helpful.
damies13 — Today at 21:08
This resource path
Resource example\example.resource.robot
On my linux machine produced this:
RFSwarmBase: find_dependancies(1339): [8:7] linearr ['Resource', 'example\\example.resource.robot'] [1.2.0 @2023-06-14 21:00:01]
RFSwarmGUI: sr_file_validate(5747): [8:7] scriptfile: /home/dave/Documents/Github/rfswarm/Tests/Demo/demo_wth_resource.robot [1.2.0 @2023-06-14 21:00:01]
RFSwarmBase: find_dependancies(1351): [8:7] resfile example\example.resource.robot [1.2.0 @2023-06-14 21:00:01]
RFSwarmBase: find_dependancies(1362): [8:7] localrespath /home/dave/Documents/Github/rfswarm/Tests/Demo/example\example.resource.robot [1.2.0 @2023-06-14 21:00:01]
When I bumped the debugging up to 8
Looks like that's the issue
Can you create a bug report on github saying something like
Manager fails to transfer resources to agent when using a resource linke like this on windows:
Resource ../../../Resource/Web_Client_Resource.robot
Then you'll get notified when I fix it
crashfile — Today at 21:10
ok will do
any work around for now ?
damies13 — Today at 21:12
safest one is to use ${/} for the paths but if you only have windows machines you can use the escaped windows paths (\) either should work I can see in the code where the problem is happening
from rfswarm.
Fix for this issue has been merged into release v1.1.4 branch, This issue will be resolved with release v1.1.4
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
- 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
- Support for Environment Variable Substitution in Resources for rfswarm-manager HOT 5
- 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.