I try to run a macro ui.vision with a bat file through command line on windows.
When I run the command, ui.vision is opened but with an error
Can’t find macro with name “C:\Users\MYUSER\Desktop\git\ui-vision-test-automation-2\myProject\macros\myDepository\LoginBasicUser.json”
UI.Vision is opened with storage mode in “file system (on hard drive”) instead “local storage (in browser” : so the macro is not find.
How to slove this problem ?
Have I to do anything to open ui.vision in browser storage mode, or have I to do anything into my command line, OR into my ui.vision.html file, OR into the.bat file to ensure it’s work fine ?
The file path is the same into .bat file and into ui.vision repository…
The code into .bat file :
set repertoire=C:\Users\MYUSER\Desktop\git\ui-vision-test-automation-2\myProject\macros\myDepository\ set fichier1=LoginBasicUser.json set htmlFile=file:///C:\Users\MYUSER\Desktop\git\ui-vision-test-automation-2\myProject\ui.vision.html "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "%htmlFile%?storage=xfile¯o=%repertoire%%fichier1%&direct=1&savelog=log1.txt"
Thanks in advanced