Hi,

 

I have the following statement:

<verifyXPath xpath="200.2-100.2=100" />

 

As a result, I get an error message: 200.2-100.2 could not be formatted to a
number.

When I put the expression in the XPath section of Webtest recorder, the
result is 'true' as I expected, so it seems like a bug. Also, putting
200.2-100.2 results in 100 in Webtest recorder.

 

Next, I tried the following:

<verifyXPath xpath="'200.2'-'100.2'=100" />

 

This results in 'false', because, apparently according to Webtest recorder,
'200.2'-'100.2' results in 99.99999999999999. Very strange if you ask me.

 

Does anyone have a solution for this?

 

Thanks!

 

David

 

Reply via email to