This is a migrated thread and some comments may be shown as answers.

Global timeout interval is not working

1 Answer 59 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chhuong
Top achievements
Rank 1
Chhuong asked on 03 Sep 2010, 12:02 AM
I have tried to set global timeout when find element on the page but it doesn't work.

- This is working
HtmlElementContainer.Get<HtmlSpan>(new HtmlFindExpression("TextContent=Test", "tagname=span"), true, 20000);

- This is not working. It time out immediately. Is there something else I need to do?
HtmlElementContainer.Get<HtmlSpan>("TextContent=Test", "tagname=span");
app.config:
<WebAii.Settings
...
...
...
    waitCheckInterval="20000"
  />

Thanks,
Chhuong

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 08 Sep 2010, 12:56 PM
Hi Chhuong,

The WaitCheckInterval property has a different purpose. Please check the documentation here.

We have had requests to expose the WaitOnElementsTimeout property globally and will look into doing that for a next version of the framework. Just for reference the Feature Request ID is #72141. I can update this thread once we have the setting exposed.

Best wishes,
Konstantin Petkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Chhuong
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Share this question
or