Forum Discussion
- Anonymous
- tbomContributorThe integration object, is when controling things from the outside world
What I want to do, is to have testcomplete/testexecute know if it is being used via COM automation, and have some functions (or tests) run, only when it is used via COM, and not when running standalone.
/ Thomas - Anonymous
Hi Thomas,
Try playing with the following TestComplete COM objects:
Sys.OleObject("TestComplete.TestCompleteApplication", "").Manager
Sys.OleObject("TestComplete.TestCompleteApplication", "").Manager.RunMode
Sys.OleObject("TestComplete.TestCompleteApplication", "").Manager.State
Sys.OleObject("TestComplete.TestCompleteApplication", "").Visible