run batch file from network: not working over emte agent

Ask general questions here.
cs97jjm3
Posts: 7
Joined: Mon Jan 14, 2019 4:30 pm

run batch file from network: not working over emte agent

Post by cs97jjm3 » Wed Feb 20, 2019 1:30 pm

Hello hope someone can help:

i have a network drive which all machines can see: but when i send to remote agent i get failed :( :( :(

Module Failed to run application 'P:\??\SQL-??????????\patch-???????.bat'.

if i go to machine and manually run command through cmd or click on file it works

a little bit confused

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 5052
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: run batch file from network: not working over emte agent

Post by odklizec » Thu Feb 21, 2019 8:51 am

Hi,

Ranorex neither recommends nor supports running tests from network drives. I guess the failing command is Run application action? Have you tried setting working directory? This often helps with similar issues. But as mentioned, network drives are not recommended/supported.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

manish
Posts: 45
Joined: Fri Aug 10, 2018 12:46 pm

Re: run batch file from network: not working over emte agent

Post by manish » Thu Feb 21, 2019 9:34 am

Hi,

I had the same issue. Try giving the full qualified path insead of the mapped drive letter

Example instead of "P:/", give the drive name set by your network drive admins such as "//abcdrive09/"

Regards,
Manish

cs97jjm3
Posts: 7
Joined: Mon Jan 14, 2019 4:30 pm

Re: run batch file from network: not working over emte agent

Post by cs97jjm3 » Fri Jul 05, 2019 9:15 am

sorry for the delay in replying:

I got it working for a bit but now we have moved totally to one drive :-(

newbie question how do I set up a working directory for loads of batch files to work with remote agents

Thanks