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
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