vthomeschoolmom
6 years agoSuper Contributor
What is the event sender parameter and what does one do with it?
All events have this param passed in. What is it and what is it for? Thanks.
function GeneralEvents_OnStartTest(Sender)
{
var testLogAttributes = Log.CreateNewAttributes();
testLogAttributes.Bold = true;
Log.Message("LLLLAAAAA", "", pmNormal, testLogAttributes);
}
There is an ActiveX component in TestComplete that generates the events. The "Sender" is that component... basically, it needs to be there, but you don't have anything you can really, usefully, do with it that I've found.