Forum Discussion
HKosova
Alumni
11 years agoHi mahnazreza,
The easiest way to troubleshoot failed comparisons is to output both values to the test log, for example, using Log.Message. Or if you use property checkpoints to compare values, TestComplete will log the compared values automatically:
total = m + "-" + k + "-" + z + "-" + y; aqObject.CheckProperty(AppType.frmGridDetails.tableLayoutPanel1.grpContent.tlpValues.lblValue3, "Text", cmpEqual, total);
On your screenshots, the dialog shows "800-801-2-1" but the Excel file contains "800-801-100-1" - so the values are actually different.