Forum Discussion
HKosova
Alumni
14 years agoHi Priya,
It looks like you're facing a known issue with property checkpoints in TestComplete 8.60 where the checkpoint fails if the expected value is specified using a variable instead of a hard-coded value. The issue is fixed in TestComplete 9.
To avoid the issue in TestComplete 8.60, you can either use a hard-coded value instead of the variable:
It looks like you're facing a known issue with property checkpoints in TestComplete 8.60 where the checkpoint fails if the expected value is specified using a variable instead of a hard-coded value. The issue is fixed in TestComplete 9.
To avoid the issue in TestComplete 8.60, you can either use a hard-coded value instead of the variable:
or perform the check using an If statement instead of the checkpoint:If ObjectUnderTest.wItemCount = var1 Then
Call Log.Checkpoint("The property checkpoint passed. wItemCount equals " & var1)
Else
Call Log.Error("The property checkpoint failed. wItemCount = " & ObjectUnderTest.wItemCount & ", the expected value is " & var1)
End If