How to generate Reports after execution via Scheduld Task : How To …

How to generate Reports after execution via Scheduld Task

Best practices, code snippets for common functionality, examples, and guidelines.

How to generate Reports after execution via Scheduld Task

Postby Joker » Fri Jan 13, 2012 3:00 pm

Hi,

my problem is Ranorex dose not generate Reports while the testsuite.exe is started via scheduld task or any other trigger. If I doubleclick the *.exe it generates all the default report files as well as the user coded things.
Paths and setting are the default values. So as I understand it, it shoudent be a different how or who the exe is execut... rigth?

Please dont tell me to read or look in the forum/manuall (i did my homework for a couple of days now) but didn't find any solution.

Thanks in advance Thomas
Joker
 
Posts: 2
Joined: Fri Jan 13, 2012 2:38 pm

Re: How to generate Reports after execution via Scheduld Task

Postby Support Team » Fri Jan 13, 2012 3:24 pm

Have you set the working directory for the Task Action in the Windows Scheduler?
By default, if you do not provide an absolute path, Ranorex stores the report in the current working directory. (The default working directory of task started by the Windows Scheduler is usually not the directory of the started executable.)

Regards,
Alex
Attachments
TaskScheduler.PNG
TaskScheduler.PNG (61.63 KiB) Viewed 107 times
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: How to generate Reports after execution via Scheduld Task

Postby Joker » Mon Jan 16, 2012 9:58 am

Somehow i feel very embarrassed... :oops:
It works perfectly thanks so much... :D
Joker
 
Posts: 2
Joined: Fri Jan 13, 2012 2:38 pm


Return to How To …

Who is online

Users browsing this forum: No registered users and 0 guests