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

RefreshDom failing

1 Answer 64 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Doug
Top achievements
Rank 1
Doug asked on 04 Apr 2012, 10:19 PM
In some test cases I'm seeing RefreshDom failing (returning false).  This is seen with IE, other browsers haven't been tried.

Any pointers on what could cause this method to fail?

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 09 Apr 2012, 11:57 AM
Hi Doug,

I'm not sure what you mean by "I'm seeing RefreshDom failing (returning false)".  The RefreshDomTree method forces the framework to resync it's copy of the DOM with what's actually contained in the browser. This method returns false if there are no changes detected in the page source and this is expected behavior. It will return true only if there is a difference between the cached copy of the DOM and the current state.

If you are running into a problem executing your tests, Please describe your scenario in more detail. What is happening and what do you expect to happen? This will help us to determine what is causing the failure.

Hope to hear from you soon!  

Greetings,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Doug
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or