cancel
Showing results for 
Search instead for 
Did you mean: 

Connect to remote TestComplete instance - did anyone tried this?

Highlighted
Community Hero

Connect to remote TestComplete instance - did anyone tried this?

Hi,



The story is like this: there is an instance of TestComplete running on remote machine within the Remote Desktop session. Did anyone tried to connect to such running instance? The final goal is to check whether TestComplete is idle or running tests (using .Integration.IsRunning property).

(Simple (VBScript) CreateObject("TestComplete.TestCompleteApplication", cTargetServer) just starts another TestComplete instance in the target computer's local session, but not connects to the running instance.)
Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
5 REPLIES 5
Highlighted

RE: Connect to remote TestComplete instance - did anyone tried this?


Hi Alexei,



I have found that you can make this work after setting the interactive user as an identity for the TestComplete Manager DCOM object on the target machine.



1. Run the Component Services utility (Start | Run... | dcomcnfg.exe).



2. Expand the 'Console Root | Component Services | Computers | My Computer | DCOM Config' node.



3. Find the 'TestComplete Manager' item corresponding to TestComplete 8 - select the Properties from the context menu and make sure that Application ID is {3F2BC7C3-2F5B-429F-BA68-948871F2838E}.



4. In the 'TestComplete Manager Properties' dialog, open the Identity tab and select the 'The interactive user.' option.



5. Apply the changes and check whether you can connect to TestComplete remotely.



Please let me know your results.
--
Dmitry Nikolaev

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
Community Hero

RE: Connect to remote TestComplete instance - did anyone tried this?

Hi David,



Thank you a lot for your investigation!



> 3. Find the 'TestComplete Manager' item corresponding to TestComplete 8 - select the Properties from the context menu and make sure that Application ID is {3F2BC7C3-2F5B-429F-BA68-948871F2838E}.



Can you let me know the AppID for TC7?
Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
Highlighted

RE: Connect to remote TestComplete instance - did anyone tried this?


Hi Alexei,



Sure:

{0871678A-AE2F-4E67-BD97-FCC08C5FA590}
--
Dmitry Nikolaev

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
Community Hero

RE: Connect to remote TestComplete instance - did anyone tried this?

Just to update the community:

There was a problem with finding AppIDs and GUIDs mentioned by David on 64-bit systems. In order to find them, Component Services should be started using this command:

mmc comexp.msc /32



Thank you a lot, David, for your help.
Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
Highlighted
Not applicable

RE: Connect to remote TestComplete instance - did anyone tried this?

Hi Alexei,



I have found that it still doesn't  work after setting the interactive user as an identity for the TestComplete Manager DCOM object on the winodws 8 target machine.The error message  as following:



Unable to start a DCOM Server: {AFE6888D-8948-4C6E-B3C2-75AE7EE4A7A5} as Unavailable/Unavailable. The error:

"740"

Happened while starting this command:

C:\Program Files (x86)\SmartBear\TestExecute 9\Bin\TestExecute.exe -Embedding
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Let's start July with new challenges!

Create a script to pass custom command-line arguments as a test parameter for the TechCorner tag!

Will you dare to take the challenge?


Top Kudoed Authors