Forum Discussion

mgroen2's avatar
mgroen2
Super Contributor
9 years ago

Starting an app on another VM

I am using TestComplete on an Azure VM. Now, in my test framework, I want to start a Windows application on another Cloud VM.

 

So Basically, what I want to achieve is this:

 

1. Testcomplete starts up on VM 1 (Azure);

2. When the test (in TestComplete) is run, it starts to run tests in TestExecute on another VM also in Azure;

 

Has anyone got experience on how to set this up?

 

When I configure Hosts on the VM, it cant find any of the other VM's I have created in Azure. Although they are running.

 

What is needed to configure this correctly.?

 

 

  • marcoxvid's avatar
    marcoxvid
    New Contributor


    Hello , I basically got this your scenario , and use the application ' psexec ' to call the "test execute" from the command line on another machine . Basically 'psexec' call a remote bat file with the following command line :

     

    cd/
    cd C:\Program Files (x86)\SmartBear\TestExecute 11\Bin
    testexecute.exe "C:\ProjetosTC\Op_Ema\Op_Ema.pjs" /r /e /SilentMode

     


    Usage:

    psexec located in c: \ local machine and the remote machine , bat file in the c: \ remote machine. In my example , the 'test execute' will call the project ' Op_Ema.pjs ' located in the remote machine folder : " C: \ ProjetosTC \ Op_Ema '