Page 1 of 1

validate.exists() takes 1.5 minutes on ranorex 3.0.2

Posted: Tue Jun 07, 2011 11:22 pm
by mham
Validate.Exists() or object.Selfino.Exists() takes 1.5 minutes.
The target flex object is a simple table object.
bool exist = Validate.Exists (repo.webDocumentsxxxxx.SomebodyTag.TdTagxxinfo, "info", false).

I guess ranorex 3.0.2 does not accept timeout as argument any more.

What will be the best answer to change timeout on Exists method?
Is it possible to change it?

Re: validate.exists() takes 1.5 minutes on ranorex 3.0.2

Posted: Wed Jun 08, 2011 11:21 am
by Support Team
Hi,

by using the method Exists(RepoItemInfo, String, Boolean) the search timeout set for the repository item is taken as search timeout.
to change the timeout for the validation you have to change the search timeout of the repository item.
If you don't want to change the search timeout of the repository you can use another Exists method where the search timeout can be specified directly: Regards,
Tobias
Support Team