You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scenario files use the local path (non relative / full path) to the scripts (.robot) files, when opening these scenarios on another computer (esp. if the OS is different) the scenario will not load the script files correctly.
To Reproduce
Steps to reproduce the behavior:
In rfswarm create a scenario with at least 1 .robot script
Save the scenario
edit the scenario file (.rfs) and check the script = lines
Expected behavior
Path to the script should be relative to the .rfs file
Additional context
When opening these scenarios on another computer (esp. if the OS is different) the scenario will not load the script files correctly.
The text was updated successfully, but these errors were encountered:
Scenario Files use local path for scripts should be relative path - Issue #54
- on open checks if the file path is relative or absolute, if relative figures out the absolute path
- on save determines relative paths and saves with the relative path
- if file opened with absolute path (old scenario file) and then saved the saved scenario will be updated with relative paths
- if scenario is saved as new scenario file name (e.g. in a different path) then the new relative paths are calculated and new file will have the adjusted relative paths to the new file.
- plus no longer crash when scenario file no longer exists
Describe the bug
The scenario files use the local path (non relative / full path) to the scripts (.robot) files, when opening these scenarios on another computer (esp. if the OS is different) the scenario will not load the script files correctly.
To Reproduce
Steps to reproduce the behavior:
script =
linesExpected behavior
Path to the script should be relative to the .rfs file
Additional context
When opening these scenarios on another computer (esp. if the OS is different) the scenario will not load the script files correctly.
The text was updated successfully, but these errors were encountered: