Can I determine (programmatically) how my current business component scriptcode has been initiated?
It could be
- standalone (using "Run" from UFT's toolbar while the component is open)
- from a standalone test execution (using "Run" from UFT's toolbar while a test calling the component is open)
- from a test lab execution (using "Run" or "Run all" button in the test set im ALM)?
Foggily related: Can I determine if current test execs from test lab or interactively from within QTP IDE?