very long time to execute the method Exists
very long time to execute the method Exists
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.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: very long time to execute the method Exists
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
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