05-05-2011 11:10 AM
Hi,
I'm using the COM adapter to call tests in TestComplete. I could always successfully call and run the first test using the Sequence Call, but when I try calling the second test with another Sequence Call I get the message "Cannot launch another instance of this application" and ""Create New Object" in automation call failed.
Server execution failed [Error Code: -17502] ".
I then tried using the Step Load and Unload option in the Run Option and I got a different message "IntegrationObj = null"
My setup is I have a Master sequence file that contains two calling sequence files ( one for each test).
The individual called sequence file have 4 steps as listed:
Get Property: Create new object
calling a method to open project
Call method to run test
Get property result
Thank you for the assistance.
Solved! Go to Solution.
05-06-2011 11:40 AM
It sounds like the COM server you are using does not support the creation of multiple instances of the server. One alternative is that you can do the Create in your root sequence (storing the reference in a local variable) and pass the object reference as a parameter to your subsequences and have them use that rather than creating new instances. For the specific requirements of the COM server you are using, you might want to contact the developer of that server. I'm not familiar with TestComplete.
Hope this helps,
-Doug
05-06-2011 12:54 PM
Thank you Doug, I will try that.
10-18-2023
06:39 AM
- last edited on
10-18-2023
10:34 AM
by
NI_Community_Su
Hi,
Can you please help me in connecting testcomplete with teststand for running testcomplete script tests on teststand.
It will be really helpful.