Page 1 of 1

How do I change the timeouts of the repository

Posted: Tue May 17, 2011 2:48 am
by Craig
We run Ranorex tests on automated build machines. On one of the machines, we're seeing failures that I believe are due to test timeouts being too short. I see that in the repository configuration dialog, I can change repository timeout defaults. However, when I change them, I don't see how my rxrep file updated to reflect the timeout changes.

As we have several test machines, I don't want to spend time manually changing settings in the Ranorex UI on each box. Is there a way I change timeout values either globally in code or in the rxrep file?

Thanks,

-Craig

Re: How do I change the timeouts of the repository

Posted: Tue May 17, 2011 8:46 am
by Support Team
Hi,

have a look at following link which might help you solving your issue:
http://www.ranorex.com/forum/ranorex-se ... t1977.html

Kind regards,
Tobias
Support Team

Re: How do I change the timeouts of the repository

Posted: Tue May 17, 2011 7:08 pm
by Craig
Not quite. To rephrase, let's say I have a validation failure like:

Attribute 'Text' of element for item 'FormImport_Tables.TreeTreeView.TextDbo' does not match the specified value (Failed to find item 'FormImport_Tables.TreeTreeView.TextDbo' within the specified timeout of 10s.).

How do I make that timeout be 20s for all items in my repository? Is there a way I can do it in code-behind or with a settings file? I tried changing the RanorexConfig2.xml's repository.itemtimeout setting to 20s but that had no impact.

-Craig

Re: How do I change the timeouts of the repository

Posted: Wed May 18, 2011 8:17 am
by Support Team
Hi,

To afterwards change the search timeouts you can mark all items inside the repository (<ctrl><a>) and set the timeout through the property grid.
If you set the timeout on the setting screen, this is then only valid for the future generated items inside the repo.

Regards,
Peter
Ranorex Team