Page 1 of 1

very long time to execute the method Exists

Posted: Tue May 07, 2013 3:19 pm
by i.matveev
Hello Help me please. When you call element.SelfInfo.Exists() if there is no item on the screen, it looks for about 1-2 minutes. Where can I change time for the search.

Re: very long time to execute the method Exists

Posted: Wed May 08, 2013 3:48 pm
by Support Team
Hi,

There are different Exists methods and if you use the one of the RepoItemInfo you can set the "Search Timeout" in the corresponding repository items properties tab.
I would suggest using one of the Validate.Exists() methods, because they allow you to set the "Duration/SearchTimeout" directly.

Regards,
Markus