[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.hyades] Re: SWT test automation, was: gui testing tool which supports eclipse ?????
|
Regarding RobotJ:
It is targeted at testers, but it supports a pretty extensive set of
capabilities for the technical tester. Perhaps it would be enough for a
certain kind of developer.
It does expect the software under test to be running in another process.
That said, it uses an RPC approach to allow you to invoke methods on
objects, get back references to other objects, and invoke subsequent methods
on those. In other words, you can tunnel around through an API.
It is not as convenient as being in the same process and directly accessing
the methods of your objects. It is not a unit-testing tool. But if you are
a developer that needs to do system testing, it may fit your needs.
"Tom Roche" <tlroche@xxxxxxxxxx> wrote in message
news:3E8244C5.4090102@xxxxxxxxxxxxx
> Pradeep Bojan Wed, 26 Mar 2003 17:35:45 +0530
> >>>> Is there any tool/framework to test GUI application written in
> >>>> Eclipse (using SWT + JFace components). I need it for automating
> >>>> the regression test.
>
> You, me, and a thousand other unfortunates :-)
>
> Timothy Wall Wed, 26 Mar 2003 07:46:13 -0500
> >>> Unfortunately, such a tool would be very platform-specific
>
> Well, a datapoint: Rational RobotJ does SWT test automation in Windows
> and Linux. (Dunno about other platforms.)
>
> Alexandre Iline Wed, 26 Mar 2003 08:47:19 -0800 (PST)
> >> I've run some experiments directed to find out if automation in SWT
> >> is possible: using SWT API and AWT Robot, you can do _almost_
> >> anything. Almost, because, menus, scrollers and some other stuff do
> >> not have API enough to play with them (just like AWT menus).
>
> Alexandre Iline Wed Mar 26, 2003 6:14 pm
> > I was able to create several "operators" (in jemmy meaning) for
> > several "controls" (in SWT meaning). I used java only, it worked for
> > Solaris and MS Windows. And it was not such a big deal either.
>
> <snip>
>
> > I am not allowed to do any deep research, I, certainly, am not
> > allowed to share my results and code. I'm sorry about that.
>
> Well, could you take a look at the "roadmaps" at
>
> http://sourceforge.net/forum/forum.php?thread_id=790404&forum_id=168263
> http://sourceforge.net/forum/forum.php?thread_id=786073&forum_id=204671
>
> and contribute any suggestions you might have?
>
> There are a lotta folks currently looking for a good, Java-based,
> JUnit-integrated, whitebox, SWT test automation framework--i.e. not a
> blackbox tool (like RobotJ), and not a native-oriented tool (like the
> Mercury tools or the Rational Robot family).
>
> Note that I am _not_ trying to slam Rational--they have a nice-looking
> product called TestRT
>
>
http://www.rational.com/demos/viewlets/test_rt/component_testing/1/component
testing_viewlet_viewlet_swf.html
>
> that I wish they could extend to support launched instances of Eclipse
> workbenches--but their current offerings for SWT are IMHO tester-
> oriented, rather than developer-oriented.
>