Duration of a running test

Ask general questions here.
Posts: 40
Joined: Thu May 26, 2011 7:17 am
Location: Germany

Duration of a running test

Post by Hermch » Fri Sep 07, 2012 12:59 pm


I have a ranorex testcase which consists of serveral recordings and code modules.
I run this test 10 times in a row. Usally it takes about 4 minutes to run the test once.

Sometimes my Application hangs, then the test keeps running because it waits for an UI Element but it does not appear.

My question:

Is it possible to check the actual duration of the running test iteration. For example if the iteration takes longer than 6 minutes, ranorex should abort the test and report an error.
I would need to check the duration of the whole testcase with all its recordings and code modules. I can not predict when the application hang happens.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: Duration of a running test

Post by Support Team » Mon Sep 10, 2012 4:50 pm


You can use the following line to get the duration of the current iteration.
Why don't you use the 'Search Timeout' property for this issue? Please read the section Repository Items Properties to get more information about repository properties.

Ranorex Support Team