Forum Discussion

AndrewCast's avatar
AndrewCast
Contributor
6 years ago
Solved

Confirm that script worked as intended

Hi everyone,

 

I'm using scripts with Python to test everything, I don't use TestComplete checks - rather it's all done from the software end.

 

I still like seeing checkmarks to show that everything works as intended. Right now I have:

 

Log.Message("Critical Path Six: Success!")

 

But at the end it just shows the warning symbol, as there are no checkmarks, so I how do I get the satisfaction of a checkmark by just coding it in?

 

Something like 

 

Log.Success("Critical Path Six: Success!")
#or
Log.CheckMark("Critical Path Six: Success!")
  • Use Log.Checkpoint.  That simulates the green checkmark log entry from using the standard checkpoint code in TestComplete.

1 Reply

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Use Log.Checkpoint.  That simulates the green checkmark log entry from using the standard checkpoint code in TestComplete.