Advertisement
majankow

Untitled

Nov 21st, 2017
3,103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Robots 0.72 KB | None | 0 0
  1. Hello
  2.  
  3. I'm using robotframework (3.0.2)
  4.  
  5. In manual I can see:
  6. Tilde expansion
  7.  
  8. Paths beginning with ~ or ~username are expanded to the current or specified user's home directory, respectively. The resulting path is operating system dependent, but typically e.g. ~/robot is expanded to C:\Users\<user>\robot on Windows and /home/<user>/robot on Unixes.
  9.  
  10. Tilde expansion is a new feature in Robot Framework 2.8. The ~username form does not work on Jython
  11.  
  12.  
  13. But in my case it's not working:
  14.  
  15. Variables         ~/localVariables.py
  16.  
  17. in log I can see:
  18.  
  19. [ ERROR ] Error in file 'D:\userdata\...': Variable file '~\localVariables.py' does not exist.
  20.  
  21.  
  22. Of course I have this file in my HOME directory
  23.  
  24.  
  25. Regards
  26. Marcin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement