RUN command network drive -> macro not found


#1

Hi, Using Firefox latest (67.0.1) with Kantu for Firefox 5.0.3. (Windows 10 x64 v1903)
192.168.0.25 = is a NAS = Network Area Storage
XModules Version = ui.vision-xmodules-setup-v201905.exe
Home Folder: \192.168.0.25\Partage\IT\KANTU\ with the 4 folders: datasources, images, macros and testsuites.
Storage Mode: Filesystem (on hard drive)
Inside macros folder I have 2 macros:
Start.json and LoginScript.json with content:

{
“Name”: “Start”,
“CreationDate”: “2019-6-10”,
“Commands”: [
{
“Command”: “bringBrowserToForeground”,
“Target”: “”,
“Value”: “”
},
{
“Command”: “store”,
“Target”: “fast”,
“Value”: “!replayspeed”
},
{
“Command”: “run”,
“Target”: “LoginScript”,
“Value”: “”
}
]
}
and
{
“Name”: “LoginScript”,
“CreationDate”: “2019-6-10”,
“Commands”: [
{
“Command”: “open”,
“Target”: “https://forum.ui.vision”,
“Value”: “”
}
]
}
When playing Start it cannot “see” ‘LoginScript’.

[status]
Playing macro Start

[info]
Executing:  | bringBrowserToForeground |  |  | 

[info]
Executing:  | store | fast | !replayspeed | 

[info]
Executing:  | run | LoginScript |  | 

[error]
Can't find macro with name 'LoginScript'

[info]
Macro failed (Runtime 0.64s)

It worked fine with Kantu 4.2.7.xpi.

If Home folder is: C:\Users\Kantu\Desktop\Kantu (on local SSD/HDD) it works fine.

[status]
Playing macro Start

[info]
Executing:  | bringBrowserToForeground |  |  | 

[info]
Executing:  | store | fast | !replayspeed | 

[info]
Executing:  | run | LoginScript |  | 

[status]
Running 'LoginScript', called by 'Start'

[status]
Playing macro LoginScript

[info]
Executing:  | open | https://forum.ui.vision |  | 

[status]
Finished running 'LoginScript', returning to 'Start'

[status]
Playing macro Start

[info]
Macro completed (Runtime 3.62s)

[Issue #549] Kantu "Error: Error: player: paused or stopped" With Run Command
#2

Fixed it. I have mapped “\192.168.0.25\Partage\IT\KANTU” as a network drive as K: and set it in Home Folder = K:
All works fine. But I have to do this setting (map a network folder as X:\ ) for more than 30 Player PC’s.
In Kantu 4.2.7 this wasn’t necessary. I can work with this for now, make a script to map and deploy it on PC’s.
It will be awesome to be fixed in future versions.


#3

Thanks for the report. We will try to recreate it and fix it soon.