Forum Discussion
You mean during a run I assume?
As obviously you can check installed extensions in TC/TE prior to starting execution ....
(But I'm sure you know that and it's a runtime check you're after .... which I have no idea about .... sorry!)
And I suspect this may depend on the scripting language you're using.
As far as I know, using VBScript, only way is to try using it and catch an error. The other languages TC uses, I don't know so well.
- Manfred_F10 years agoRegular Contributor
Yes, I check this in the GeneralEvents_OnStartTest Event routine to generate a qualified error message. So far, I catch an error and react on this.
- Colin_McCrae10 years agoCommunity Hero
What scripting language?
** EDIT **
Actually, I don't think it matters. I know VBScript can't do it. From what I can see, Jscript can't either.
Suspect the other three are unlikely to either. The C variants are Jscript based. No idea about DelphiScript, but I'd be surprised if thats what you're using.
- joseph_michaud10 years agoModerator
Check the aqEnvironment.IsScriptExtensionInstalled and aqEnvironment.IsPluginInstalled methods. Perhaps they can be of use.
Related Content
- 8 years ago
Recent Discussions
- 4 days ago
- 5 days ago