Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Is SWTBot working on Win7 64Bit?(Can not see SWTBot "run as SWTBot Test")
Is SWTBot working on Win7 64Bit? [message #629440] Tue, 28 September 2010 10:07 Go to next message
Izaak van Niekerk is currently offline Izaak van NiekerkFriend
Messages: 35
Registered: June 2010
Member
I am running on a Windows 7 64Bit machine. Have installed the latest installations of SWTBot in copy of Eclipse 3.6 (Helios), but can not seem to get any of the features. I created a simple hello world test with the "@RunWith(SWTBotJunit4ClassRunner.class)" annotation etc, but when I right click on the class, the only "Run As" options I get are the JUnit one's, also nothing under the Run Configuration.

Am I missing something or is SWTBot not supported on 64bit yet?

Re: Is SWTBot working on Win7 64Bit? [message #629503 is a reply to message #629440] Tue, 28 September 2010 13:57 Go to previous messageGo to next message
Pascal G is currently offline Pascal GFriend
Messages: 157
Registered: July 2009
Senior Member
On 10-09-28 06:07 AM, Izaak wrote:
> I am running on a Windows 7 64Bit machine. Have installed the latest
> installations of SWTBot in copy of Eclipse 3.6 (Helios), but can not
> seem to get any of the features. I created a simple hello world test
> with the "@RunWith(SWTBotJunit4ClassRunner.class)" annotation etc, but
> when I right click on the class, the only "Run As" options I get are the
> JUnit one's, also nothing under the Run Configuration.
>
> Am I missing something or is SWTBot not supported on 64bit yet?
>
>

The usual answer is: SWTBot runs in any platform that SWT runs on. There
is nothing platform-specific in SWTBot that I'm aware of.

I don't really know what's going on for you. Seems like SWTBot is
installed correctly since you don't have any compilation problem. May it
be that the UI plugin didn't install? Or maybe you are using a target
platform and SWTBot is installed in it and not on your running Eclipse?

Could you take a look in Help -> About Eclipse -> Installation Details?
In the Installed Software tab, you should have SWTBot for
[GEF|Eclipse|SWT] Testing, and in the Plug-ins tab you should have a
couples of org.eclipse.swtbot entries and
org.eclipse.swtbot.eclipse.core (or ui, I think, depending on your
version) should be there.

Hope this helps.
--
Pascal Gélinas | Software Developer
*Nu Echo Inc.*
http://www.nuecho.com/ | http://blog.nuecho.com/

*Because performance matters.*
Re: Is SWTBot working on Win7 64Bit? [message #629515 is a reply to message #629503] Tue, 28 September 2010 14:43 Go to previous messageGo to next message
Izaak van Niekerk is currently offline Izaak van NiekerkFriend
Messages: 35
Registered: June 2010
Member
Hi Pascal

I downloaded:

org.eclipse.swtbot-2.0.0.595-dev-e36.zip
org.eclipse.swtbot.eclipse..... zip
org.eclipse.swtbot.eclispe.text.junit4-......zip

extracted them and pointed the "Install Software" to this "local" location.

After installation ran, the following was added to the "Installed Software":

SWTBot for Eclipse Testing
SWTBot for SWT Testing
SWTBot JUnit 4.x Headless launchers for Eclipse

and in the Plug-ins:
org.eclipse.swtbot.eclipse.finder
org.eclipse.swtbot.eclipse.spy
org.eclipse.swtbot.go
org.eclipse.swtbot.eclipse.junit4...
org.eclipse.swtbot.junit4_x
org.eclipse.swtbot.swt.finder
org.eclipse.swtbot.eclipse.core

But still not able to see the SWTBot features.
Re: Is SWTBot working on Win7 64Bit? [message #629992 is a reply to message #629515] Thu, 30 September 2010 09:11 Go to previous messageGo to next message
Tim S is currently offline Tim SFriend
Messages: 7
Registered: August 2010
Junior Member
You're missing the UI plug-in indeed: org.eclipse.swtbot.eclipse.ui. I noticed too that it's not inluded in the downloadable packages, but you can get it via the update url.
Re: Is SWTBot working on Win7 64Bit? [message #633521 is a reply to message #629992] Mon, 18 October 2010 10:25 Go to previous messageGo to next message
Ullas is currently offline UllasFriend
Messages: 10
Registered: September 2010
Location: Bangalore
Junior Member
Hi Izaak,

Is this issue still exists? I am currently running SWT files after my upgrade from windows xp to windows 7. Its giving me error as "Cannot load 32-bit SWT libraries on 64-bit JVM". Could you please help me on this?

Regards,
Ullas
Re: Is SWTBot working on Win7 64Bit? [message #633542 is a reply to message #633521] Mon, 18 October 2010 11:11 Go to previous messageGo to next message
Izaak van Niekerk is currently offline Izaak van NiekerkFriend
Messages: 35
Registered: June 2010
Member
Hi Ullas, no the issue have been resolved. Were clearly missing some libraries. I was doing an update via a local site and this didn't seem to do a full installation of all the SWT Bot libraries. Had to do an on-line update which seemed to do the trick.

Are you using Helios?
Re: Is SWTBot working on Win7 64Bit? [message #633600 is a reply to message #633521] Mon, 18 October 2010 13:51 Go to previous messageGo to next message
Pascal G is currently offline Pascal GFriend
Messages: 157
Registered: July 2009
Senior Member
On 10-10-18 06:25 AM, Ullas wrote:
> Hi Izaak,
>
> Is this issue still exists? I am currently running SWT files after my
> upgrade from windows xp to windows 7. Its giving me error as "Cannot
> load 32-bit SWT libraries on 64-bit JVM". Could you please help me on this?
>
> Regards,
> Ullas

I'd take a chance and going to say you didn't install the proper SWT
(Eclipse) version. If you are running in a 64-bit environment, make sure
to download the Eclipse version for 64-bit[1].

[1]
http://www.eclipse.org/downloads/download.php?file=/eclipse/ downloads/drops/R-3.6.1-201009090800/eclipse-SDK-3.6.1-win32 -x86_64.zip

Hope this helps.
--
Pascal Gélinas | Software Developer
*Nu Echo Inc.*
http://www.nuecho.com/ | http://blog.nuecho.com/

*Because performance matters.*
Re: Is SWTBot working on Win7 64Bit? [message #633966 is a reply to message #633600] Wed, 20 October 2010 06:06 Go to previous message
Ullas is currently offline UllasFriend
Messages: 10
Registered: September 2010
Location: Bangalore
Junior Member
Thanks for the reply. The 64 bit Eclipse helped me to resolve this issue.
Previous Topic:"Run as SWTBot Test" missing
Next Topic:SWT Bot with Windows 7
Goto Forum:
  


Current Time: Sat Apr 20 00:40:28 GMT 2024

Powered by FUDForum. Page generated in 0.03716 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top