Hey Guys,
Can anyone tell me if ranorex uses search timeout or effective timeout when looking for an object/element during script exection?
Thanks,
Abhy
Timeout in Ranorex.
Re: Timeout in Ranorex.
It uses effective timeout, which is the combination of the element all of its parent folders' search timeouts.
In order to change the effective timeout you need to adjust all search timeouts of the parents as well as the item in question.
In order to change the effective timeout you need to adjust all search timeouts of the parents as well as the item in question.
Shortcuts usually aren't...
Re: Timeout in Ranorex.
Thanks,
I have a follow up question. In ranorex guide, under "Repository Item Properties" section it is mentioned that search time out is used for an element before an exception is thrown and ranorex uses effective timeout.
This is somewhat confusing.
Can you please clear this ambiguity?
I have attached the screenshot of the file as well.
Thanks,
Abhinav
I have a follow up question. In ranorex guide, under "Repository Item Properties" section it is mentioned that search time out is used for an element before an exception is thrown and ranorex uses effective timeout.
This is somewhat confusing.
Can you please clear this ambiguity?
I have attached the screenshot of the file as well.
Thanks,
Abhinav
You do not have the required permissions to view the files attached to this post.
Re: Timeout in Ranorex.
I'm not sure what ambiguity you are referring to, it seems very clear to me.
Each object in the repository has a search timeout. The Effective Timeout of any repo item is that item's search timeout plus the search timeout of each parent folder/object.
For example, if you have the following repo:
The Effective Timeout for Div is 1.5 minutes (the sum of Div's timeout and all parent elements, in this case Body and WebDocument).
Each object in the repository has a search timeout. The Effective Timeout of any repo item is that item's search timeout plus the search timeout of each parent folder/object.
For example, if you have the following repo:
Code: Select all
WebDocument -> /dom[@domain='www.mydomain.com'] => Search Timeout = 30s (default value)
Body -> /body => Search Timeout = 30s
Div -> /div[@id='MyDiv'] => Search Timeout = 30s
Shortcuts usually aren't...