Forum Discussion

Egg's avatar
Egg
Frequent Contributor
2 years ago
Solved

Play .pjs with several computors.

Hi everyone. 

First, I make a TestComplete automation Test at A computer. 

and then I send this files to computer B and  play it (at B computer).

At Computer B, the TestComplete automation test failed with various errors. 

 

So I thought. 

Once I make the Testcompete automation test at  computer A, I must play that computer A.  

because of many resaons. (in automation test scripts, click operation have X, Y coordinate or Computer owns resolution etc.. ) 

is that right? 

Must I play Automation test only with made computer.? 

  • If you are developing automation scripts, using coordinates to interact with UI objects, on your local computer that has a specific screen resolution. Then the other computer needs to have the same screen resolution too.

     

    However, if you are interacting with UI objects based on their IDs, then TC is able to identify the object regardless of screen resolution*

     

    *There is a minimum requirement

1 Reply

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    If you are developing automation scripts, using coordinates to interact with UI objects, on your local computer that has a specific screen resolution. Then the other computer needs to have the same screen resolution too.

     

    However, if you are interacting with UI objects based on their IDs, then TC is able to identify the object regardless of screen resolution*

     

    *There is a minimum requirement