rgratis
12 years agoFrequent Contributor
Check Script Extension Version
Is there a way to check the version of a Script Extension from scripts? We have a script extension that provides wrapper objects for our application. We are continuously adding to the script extension over development cycles as new UI elements are added, so we run into cases where a user is attempting to run a test script on an installation of TestComplete with an outdated extension.
I realize I can do an exact version match with aqEnvironment.IsScriptExtensionInstalled, but this means that every time we release a new version, we would have to update all test projects to check for the next version? It seems like we really need to be able to do a "version is greater than" style check in test scripts.
If this feature isn't currently available in TestComplete, I think it would be a great addition (or even just a way to obtain the version field and do our own checks).
I realize I can do an exact version match with aqEnvironment.IsScriptExtensionInstalled, but this means that every time we release a new version, we would have to update all test projects to check for the next version? It seems like we really need to be able to do a "version is greater than" style check in test scripts.
If this feature isn't currently available in TestComplete, I think it would be a great addition (or even just a way to obtain the version field and do our own checks).
- Can you not expose a .Version property from your extension?