Forum Discussion

cmifsud's avatar
cmifsud
New Contributor
13 years ago

SWT object recognition on Window 7 64 bits

My application can be run either in 32 bit or 64 bit mode on a window 7 64 bit machine.



When I run the 32 bit version, my SWT object are correctly identified:

    SWTObject("Shell", "My Application Name")

            SWTObject("StatusLine", "",2)

            SWTObject("CBanner", "", 1)



However, when I run the 64 bit version of this application (same computer, same version, same environment), I have

    Window(SWT_Window0", "My Application Name", 1)

             Window(SWT_Window0", "", 2)

             Window(SWT_Window0",  "", 1)  

And so on.

No matter how deep I go into my object tree everytihng is  Window(SWT_Window0",  .. something



Any idea why?

Thanks
  • aqAnt's avatar
    aqAnt
    SmartBear Alumni (Retired)

    Hello Catherine,


    Thank you for the clarification.


    We have faced the situation before, and we have a patch that should fix it. To get the patch, please contact us via our Contact Support form.

  • aqAnt's avatar
    aqAnt
    SmartBear Alumni (Retired)

    Hello Catherine,


    TestComplete does not recognize your Java application as Open in the second case. Could you please clarify how you run the application in both cases? Which versions of JDK (or JRE) are you using?

  • cmifsud's avatar
    cmifsud
    New Contributor
    We are using jre 1.6.  

    We are running an Eclipse RCP application with SWT components.

    Why I do not get is why when I am firing the 32 bit application it works well. However when I am using the 64 bit version it does not.

    Again bioth 32 and 64 bit version are installed on the same machine (window 7 64 bit. They got installed together during the installtion process) and started the same way (short ut to the desktop).

    Thanks.