Forum Discussion

anumolu9999's avatar
anumolu9999
Contributor
5 years ago
Solved

is this possible using testcomplete?

Hi, 1. My current project design is as in the attachment 'OverallArch.jpg'. I want to write the testcomplete script for AUT which is in PC#02. 2. AUT function is to communicate with the applications which resides in PC#1 and PC#3. i.e., messages from pc# 1,3 should display in AUT in PC#2. and viceversa Using testcomplete, can we handle to generate messages in the applications of pc#1, 3 so that those messages can be received by AUT in pC#2 and verified with testcomplete?

  • Yo!

     

    1) The simplest solution is to write data to a file located in a network location and then read to the scripts to verify the values.

     

    2) A bit more difficult but better is to create an intermediate element such as a web service to which you will push the data through the API.

     

    3) Use the database to store the values. Connecting to MySQL is easy and fun and the verification of the value and data reliability will be equal to 100%.

5 Replies

  • Wamboo's avatar
    Wamboo
    Community Hero

    Yo!

     

    1) The simplest solution is to write data to a file located in a network location and then read to the scripts to verify the values.

     

    2) A bit more difficult but better is to create an intermediate element such as a web service to which you will push the data through the API.

     

    3) Use the database to store the values. Connecting to MySQL is easy and fun and the verification of the value and data reliability will be equal to 100%.

    • anumolu9999's avatar
      anumolu9999
      Contributor

      Hi Wamboo ,

       

      Thank you for the reply.

       

      Those problems got facedout.... 

       

      My New issue is, I have to perform sequence of steps in multiple PCs.

      Config:

      PC#1: TestExecute (App1)

      PC#2: TestExecute (App2)

      PC#3: TestComplete (AUT)

       

      Using the above setup can we do below 

      1. Using TC, executed 10 steps

      2. At Step11, need to perform some changes(these to be reflected in AUT which is in PC#3) in Application1 which is in PC#1. 

      3. At step12, need to perform some changes(these to be reflected in AUT which is in PC#3) in Application2 which is in PC#2.

      4. in PC#3, testComplete should be on hold until above 2 are executed and resume its execution

       

      my requirement is, can we able to trigger "TestExecute" in PC#1 from "TestComplete" in PC#3 ?

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        Please post one question per thread... it helps other users to find answers easier.

         

        Again... look into distributed testing.  That's going to be the best solution for synchronizing events across multiple machines.