windows calculator is not loading up

Ask general questions here.
moid125
Posts: 5
Joined: Tue Jan 15, 2013 1:33 am

windows calculator is not loading up

Post by moid125 » Thu Jan 17, 2013 12:56 am

I am writing custom test for calculator, to evaluate Ranorex for desktop applications, unfortunately i am unable to open calculator with the following command.

Host.Local.RunApplication("C:\\Windows\\System32\\calc.exe");
also tried
Host.Local.RunApplication("calc.exe");

is there anything i am doing wrong ?

moid125
Posts: 5
Joined: Tue Jan 15, 2013 1:33 am

Re: windows calculator is not loading up

Post by moid125 » Thu Jan 17, 2013 5:22 am

mistake was in the command.

Host.Local.RunApplication("C:\\Windows\\System32\\calc.exe", "", "", false);

above command s correct and calc is now launched successfully.