Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [swtbot-dev] Impressions and questions from a first time user

Hi Ketan

Thanks for your helpful advise!

On Wednesday 06 January 2010 03:14:28 Ketan Padegaonkar wrote:
> Hi Niklaus,
> 
> My replies inline:
> 
> On 1/5/10 12:11 PM, Niklaus Giger wrote:
> > a) As elexis has overridden WorkbenchAdvisor, a login dialog for the DB
> > comes up first. One has to manually enter a username/password before
> > SWTBot gets control. Does anybody has a hint where I have to patch
> > SWTBot/elexis in order to pass control to SWTBot first?
> 
> Yes, you will need to patch the login dialog. There is a good, secure
> way to patch the login dialog on the FAQ[1].
Thanks a lot for the hint. I overlooked it.

<..> 
> No there is none, the Spy View is all there is. It seems like an
> interesting idea to be able to dump gui elements. If you do manage to
> write one, do consider contributing it back :)
> 
If I manage, I surely will contribute back.
<...>
> Here's my copy of build.developer.properties:
> http://gist.github.com/269940, perhaps you'd need something similar.
> 
> You will need to run 'ant materialize-workspace' in this case.
Yes. I started with your build.developer.properties.sample. I tried it under 
various OS and got the following results:

Under WindowsXP and with eclipse 3.5.1, ant completed and junit had about 79 
failed tests  because my language/keyboard setting was de_CH.

Under MacOSX (SnowLeopard on a recent MacBookPro) using eclipse cocoa  3.5.1 
and  also with keyboard settings de_CH. ant started the SWTBot test, but only 
a white windows appeared, which I killed after about 15 minutes.

Testing in directory using .git fails with this error:
>     [java] BUILD FAILED
>     [java]
> /Users/Gyong/Documents/swtbot/org.eclipse.swtbot.releng/test-sandbox/test.x
>ml:306: The following error occurred while executing this line: [java]
> /Users/Gyong/Documents/swtbot/org.eclipse.swtbot.releng/test-sandbox/test.x
>ml:293: Basedir
> /Users/Gyong/Documents/swtbot/org.eclipse.swtbot.releng/test-sandbox/test-e
>clipse/eclipse/plugins/org.eclipse.swtbot.swt.finder.test_2.0.0.${svn.LastCh
>angedRev}-dev-e35 does not exist

I see that there are good test results for SWTbot under
http://download.eclipse.org/technology/swtbot/galileo/dev-
build/junit/org.eclipse.swtbot.swt.finder.test/

Do you have any plans to use a continuos integration tool like
http://hudson-ci.org/ to test several combinations of OS/eclipse/SCM ?
Would it be helpful if I would setup/run such a system? I would volunteer to 
test a setup on my Linux server and some combinations with WindowsXP, Linux 
and MacOSX clients. But my internet connection is not very fast and the 
systems are not always up. 

After having worked with buildbot and cruisecontrol I really loved how easily 
I could setup my testing for my u-boot projects using hudson.

Best regards

-- 
Niklaus Giger


Back to the top