ELSE statement is ignored in desktop test case
Test Complete has been working really well with the VB6 .NET applications I'm testing, I seem to be hitting a wall when trying to use IF, THEN, ELSE. I'm trying to test a simple calculation where Field Loi950 - Field Loi550 = Field CO2
I set up an IF statement where If CO2 does not equal 0, a message is generated saying "The value should equal 0" and the test ends. ELSE: The record is saved and the test ends.
When I run the test, regardless of what value is calculated in CO2, the message "The value should equal 0" will be generated and the test ends. So if the value is 0, THEN is still executed instead of ELSE.
The test is attached, many thanks in advance!