Forum Discussion

Vec84's avatar
Vec84
Contributor
8 years ago

Push test to VM to run from host machine

Hello,

I have test complete installed on a host machine and now have an Oracle Virtual box with a similar image of my machine running along side. The Virtual box also has testcomplete installed and they both utilise the floating licence.
My question is, could I push a script test to run on the virtual box from my dev/host machine.The Virtual machine is open and not locked but I would rather push tests to that while I continue to work. I understand this is possible on Testexecute however we don't have this as of yet.

I have created bat files on the development machine to trigger tests but I haven't had it rub in the virtual box. I have attempted to use PsExec tool however it seems to load another VM on the VM image which is weird.
  • Utilizing a Network suite you can do what you ask... but again, the restriction is that you are running a project on your device machine which kicks off the remote.

    Your best bet is to copy your project locally onto your VM and then kick it off there in TestExecute. You can do this any number of ways like using Jenkins, TFS, QA COMPLETE, or simply windows task scheduler
  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Every machine that you want to run a  test case from TestComplete on needs to have a licensed copy of either TestComplete or TestExecute.  So,, in order to run the test on your VM, you'll need TestExecute...

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    Utilizing a Network suite you can do what you ask... but again, the restriction is that you are running a project on your device machine which kicks off the remote.

    Your best bet is to copy your project locally onto your VM and then kick it off there in TestExecute. You can do this any number of ways like using Jenkins, TFS, QA COMPLETE, or simply windows task scheduler
  • Vec84's avatar
    Vec84
    Contributor
    Hello tristtaanogre,

    Yes the virtualbox and dev machine are connected to the licence manager and both have a licence each from the floating licenceshelf we have.

    Would it be possible to execute from dev machine to virtual remotely. The Virtual box is open on my machine but other than me navigate to it on there I could just click run on Virtualbox from dev machine
  • Vec84's avatar
    Vec84
    Contributor
    Thanks for the reply.
    I've attempted the network suite briefly but couldn't make a connection but will continue to try.
    Jenkins will be the tool used to trigger the tests in the future.

    The above question is just while i test what I have just written and it measeems I don't have to go into the VM and trigger it manually. Ultimately, jenkins will be used for the final script
    • tristaanogre's avatar
      tristaanogre
      Esteemed Contributor

      I think you'll find that some sort of CI tool is probably going to be the best bet for what you want to do if you don't want to manually trigger it.