Run a .bat file from Ranorex Studio

Ask general questions here.
premravi
Posts: 127
Joined: Tue Jan 08, 2019 1:55 pm

Run a .bat file from Ranorex Studio

Post by premravi » Fri Apr 24, 2020 11:05 am

Hi,

How can I run the .bat file from the Ranorex studio

Regards

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

Re: Run a .bat file from Ranorex Studio

Post by odklizec » Fri Apr 24, 2020 11:20 am

Hi,

Run Application command should start it without a problem. Or via code Host.Local.RunApplication("yourapp", "", "", true);
Just don't forget to fill also "working directory" parameter.
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