shahid24
2 years agoContributor
TestComplete aqPerformance
For the below script, in the Log.Message section, how do i enter string in to it to display a messsage like " The calculations took" +aq.Performance.Value() )?
I get a run time error when trying above
Sub getTime()
' Start a time counter
aqPerformance.Start()
' Do some actions
' Log the elapsed time, in ms
Log.Message(aqPerformance.Value)
End Sub
I think in VBScript it's,
Log.Message("The calculations took " & aq.Performance.Value())