Forum Discussion

rohita's avatar
rohita
Occasional Contributor
2 years ago

Writing script where part of code runs for desktop automation and part on web automation.

I have scenario where I want to run part of script which runs on desktop and another part of same script runs the web automation. Desktop should run on one remote machine and web runs on another rem...
  • AlexKaras's avatar
    2 years ago

    Hi,

     

    Is it really required for desktop and web parts to be running on separate systems? Can't they run on the same box?

    If they can, then just create a regular script that interacts with desktop and web as needed. (Make a simple recording to get an overall idea of how script may look and work.)

    If they really must be executed on separate systems (which I actually hardly can believe at), then, depending on your scenario, you may either create a script for desktop, execute it on one machine and execute another script for the web on this other machine.

    If your scenario assumes constant switching between desktop and web, you may consider Network mode (https://support.smartbear.com/testcomplete/docs/testing-with/deprecated/distributed/basic-concepts.html) even despite the fact that it is deprecated. (Note: additional licenses for TC will be required in this case.)

     

  • Marsha_R's avatar
    Marsha_R
    2 years ago

    As frequently happens, AlexKaras and I are thinking alike! This is why I asked for a scenario, because you may be trying to test something that could never happen with real users.