Forum Discussion

abouquet's avatar
abouquet
New Contributor
7 years ago
Solved

Import testpartner script

Hi all

 

I would like to know if it's possible to import automated tests written for testpartner in TestComplete.  The tests are written for delphi application tests.

 

Thanks

 

Anne

  • Hi Anne,

     

    TestComplete supports these scripting languages: JScript, JavaScript, VBScript, Python and DelphiScript. You may consider import if your existing code is implemented using one of the above languages.

    Another moment is that test code in TestComplete consists of two flavors:

    1) The code that uses only functionality of the given scripting language. Obviously this code will work everywhere and can be imported as is;

    2) The code that uses additional functionality provided by TestComplete: e.g. Sys, aqString, dotNet and a lot of other objects and their methods. This code will work only in TestComplete runtime environment. Likewise, if the code from TestPartner contains something that is specific to and is supported only by TestPartner, such code must be rewritten using TestComplete means.

1 Reply

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi Anne,

     

    TestComplete supports these scripting languages: JScript, JavaScript, VBScript, Python and DelphiScript. You may consider import if your existing code is implemented using one of the above languages.

    Another moment is that test code in TestComplete consists of two flavors:

    1) The code that uses only functionality of the given scripting language. Obviously this code will work everywhere and can be imported as is;

    2) The code that uses additional functionality provided by TestComplete: e.g. Sys, aqString, dotNet and a lot of other objects and their methods. This code will work only in TestComplete runtime environment. Likewise, if the code from TestPartner contains something that is specific to and is supported only by TestPartner, such code must be rewritten using TestComplete means.