3jtechtest
12 years agoOccasional Contributor
TestComplete sends WebService call parameter with mantissa causing an error
Our WebService has one of the parameters defined as data type - double.
When calling WebService in TestComplete and passing in the values (e.g 0.01,0.002,0.0003) everything seems to work Ok.
However, when value is passed into the parameter with 5 decimal points (e.g 0.00003)
the TestComplete must be formatting it with mantisa as the exception is thrown by the WebService:
The value '3E-5' cannot be parsed as the type 'decimal'.</faultstring><detail><ExceptionDetail xmlns="http://schemas.datacontract.org/2004/07
....
Is anyone aware of the configuration setting within TestComplete so that sending double(float) value in the scientific notation can be turned off?
When calling WebService in TestComplete and passing in the values (e.g 0.01,0.002,0.0003) everything seems to work Ok.
However, when value is passed into the parameter with 5 decimal points (e.g 0.00003)
the TestComplete must be formatting it with mantisa as the exception is thrown by the WebService:
The value '3E-5' cannot be parsed as the type 'decimal'.</faultstring><detail><ExceptionDetail xmlns="http://schemas.datacontract.org/2004/07
....
Is anyone aware of the configuration setting within TestComplete so that sending double(float) value in the scientific notation can be turned off?