Forum Discussion

hugo_soares's avatar
hugo_soares
Occasional Contributor
12 years ago

Java Bridge and jvm memory arguments

Hello everyone,



I have some selenium java tests running in eclipse with no errors. So I wanna reuse them in testcomplete, then i configured the javabridge and I can running java classes and its methods from a testcomplete script. But some weird errors occurs with firefox webdriver when running in java bridge. The firefox is in the latest version as selenium too. 

I figured out it may some memory arguments ( pehaps x:maxMemSize) are missing, how can I set those options in testcomplet?

The attached file shows the error.



Some info:

- Test complete version 10.0.531.7

- Firefox version: 26.0

- Selenium version: 2.39.0

- jvm version: 64 bits 1.7 update 45

- Windows 7 64 bits

  • AlexKaras's avatar
    AlexKaras
    Icon for Champion Level 3 rankChampion Level 3
    Hi Hugo,



    I have extremely limited experience with dealing with java errors, so the following is my wild guess, but my suggestion will be (especially, considering the os.arch: 'x86' string in the extended log messages) to ensure that all components that you use for your tests are of same 'bitness'. I even would recommend to ensure that all of them are 32-bit applications. Under components I mean: TestComplete (it is 32-bit application that can control 64-bit applications), JVM, WebDriver, FireFox and anything else that is used by the tests.

    Hope, this might help...