Forum Discussion
3 Replies
- Hassan_Ballan
Champion Level 3
Add else to your if statement and add log message to it.
IF variables are not equal
Log error
Stop
Else
Log message - rraghvani
Champion Level 3
Have you read the documentation that I have provided?
I suggest you try a small example, so that you understand how the method works, what results you get etc. Otherwise I suggest you read through https://support.smartbear.com/testcomplete/docs/tutorials/getting-started/index.html
- JDR2500Frequent Contributor
In MW_Didata's fine example substitute Log.Checkpoint for Log.Message in the second line and you'll get the green passing message you want when the strings match.