Forum Discussion

seafalcon's avatar
seafalcon
Contributor
15 years ago

What TC8 fully access JAVA API mean?

Does it mean testscript can be written in Java?



Any examples? 



Thanks
  • Hi Philip,


    The explanation provided in the "What's New in TestComplete 8" document available at http://www.automatedqa.com/products/testcomplete/whats-new/8-0/ (I guess, this is the document you refer to) is quite clear, and it does not state that it would be possible to use Java for TestComplete scripts in any way:



    Access to Java API. TestComplete 8 provides your automated tests with direct access to the Java API and allows you to use Java classes in your automated tests. You can set up the desired class paths and classes in the project’s Java Bridge properties and access the classes and their members from your tests through the JavaClasses object. In addition, TestComplete lets you access packages and classes loaded into arbitrary Java applications through the JavaRuntime child object of the application process. This way, for example, you can easily use your legacy testing utilities written in Java or enhance your tests using Java library functions.


    If some of the phrases in the document are misleading for you, please describe your point in detail.

  • Hi Philip,


    No. TestComplete supports only five scripting languages: JScript, VBScript, DelphiScript, C#Script and C++Script. However, it will be possible to call Java functions from TestComplete via Java Bridge in TestComplete 8. For more information on Java support in TestComplete 7, please see the Testing Java Applications.

  • That marketing fully JAVA API access slogan is misleading and your explanation is disappointing also.