Tuesday, August 23, 2011
Test Studio offers you up several different validation types when you’re constructing a validation sentence targeting a content type. It’s important you understand the difference between the options you have – the subtle differences may cause unexpected failures or worse, falsely passing tests!
To demonstrate the differences, I’ll use the same example HTML I used in my previous post about working with test-hostile UIs.
If I select the first NewsItemContent node and look at its snippet of the DOM, we’ll see this:
<div class="NewsItemContent">We continue to have more and more sucesses with dogfooding
throughout Telerik. ("Dogfooding" ...