Thank you for contacting Telerik Support.
The first step in making this kind of verification will be to extract the current value of this attribute into variable using an extract step
. You can very easily convert the type of any existing verification's between a verify, wait or extract via the step context menu (right-click step -> Change Role -> Set as). Once we have the value stored in an extracted variable, we need to reference it in code in order to be able to manipulate it (see extracted variables in code
). Having done so allows us to convert the object into a double and make our assertion. See full example below:
height = GetExtractedValue(
svheight = Convert.ToDouble(height);
Assert.IsTrue(svheight > 0);
Please let me know whether you have any additional questions.