Forum Discussion

AndrewCast's avatar
AndrewCast
Contributor
7 years ago

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.

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

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