What is the event sender parameter and what does one do with it?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2019
09:17 AM
01-11-2019
09:17 AM
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);
}
Solved! Go to Solution.
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2019
09:47 AM
01-11-2019
09:47 AM
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.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2019
09:48 AM
01-11-2019
09:48 AM
I am sad. I am going to cry. 🙂
