Bug 272038 - Use SWTBot for creating screenshots for documentation
Summary: Use SWTBot for creating screenshots for documentation
Status: CLOSED WONTFIX
Alias: None
Product: Linux Tools
Classification: Tools
Component: Project (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Linux Distros Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, Documentation, helpwanted
Depends on:
Blocks:
 
Reported: 2009-04-13 12:01 EDT by Andrew Overholt CLA
Modified: 2012-04-11 17:36 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Andrew Overholt CLA 2009-04-20 10:38:35 EDT
We can't do this until Hamcrest passes CQ.
Comment 2 Ketan Padegaonkar CLA 2009-12-21 16:23:04 EST
Was triaging all bugs in my list. Just realized that this CQ was approved. https://dev.eclipse.org/ipzilla/show_bug.cgi
Comment 3 Ketan Padegaonkar CLA 2009-12-21 16:23:28 EST
Sorry the link was https://dev.eclipse.org/ipzilla/show_bug.cgi?id=2860
Comment 4 Andrew Overholt CLA 2009-12-22 11:39:18 EST
Thanks, Ketan.
Comment 5 Peter Liu CLA 2010-03-01 21:04:14 EST
Hi.
I'm interested in using SWTBot to create screenshots for the Linux Tools project.
I've finished reading Cedric Brun's blog post.
Where can I start? Has any SWTBot code been written for the Linux Tools project?
I want to write a simple example. Any suggestion or guidance will be appreciated.
Comment 6 Andrew Overholt CLA 2010-03-08 10:43:57 EST
Hi Peter,

(In reply to comment #5)
> I'm interested in using SWTBot to create screenshots for the Linux Tools
> project.

Great!  Sorry I missed you comment on this bug a week ago.

> Has any SWTBot code been written for the Linux Tools project?

No, not at the moment.  My best suggestion (which is weak, I know) is to look at SWTBot documentation.  Ketan, do you have any good pointers off the top of your head?
Comment 7 Ketan Padegaonkar CLA 2010-03-08 12:00:22 EST
There's  a user guide to start with: http://wiki.eclipse.org/SWTBot/UsersGuide. The SWTBot api itself is quite thin, and there's only one class to know, really. Writing a couple of tests should get you familiarized with how to use swtbot.

In case you're still stuck an hour after installing swtbot, give me a shout. EGit has a nice set of tests that you could look at to see what they do.

http://egit.eclipse.org/w/?p=egit.git;a=tree;f=org.eclipse.egit.ui.test;hb=HEAD
Comment 8 Peter Liu CLA 2010-03-08 14:05:31 EST
Thanks a lot, Ketan and Andrew.
I'll give it a try and keep all of us updated.
Comment 9 Alexander Kurtakov CLA 2012-04-11 17:36:37 EDT
Closing. We can not rely on swtbot.