Forum Discussion

subin_pb_1's avatar
subin_pb_1
Occasional Contributor
12 years ago

JavaClasses support gives error

I am trying to use the JavaClasses feature to call functions from Java Classes. For this purpose:-

1) I installed the JavaClasses Support plugin

2) Updated the JRE path on Tools -> Options

3) Updated the JAR files and class details on Tools -> Current Project Properties

4) Tried to open the functions from a script using "JavaClasses."



I am expecting to see the functions after step 4, but I am not getting it. What could be wrong? Please help. (Refer to the attachment for more details)

7 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Christina,


     


    Have your tried opening the Code Completion window manually by pressing Ctrl-Space?


    As far as I remember, the window isn't shown automatically in VBScript on the first level.


     

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Christina,


     


    I've found out that there were some issues with Java Bridge in TestComplete 9.10. Could you please update to the latest product version - 9.20 (they were fixed in this version)? 


     

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Christina,


     


    According to this article, you need to add the class name, as well as the name of the package containing the class, to the project settings. Does this help?