Testing SWT GUI without AGR [message #63768] |
Tue, 04 April 2006 06:34  |
Eclipse User |
|
|
|
Originally posted by: jsetya.yahoo.com
Hi all,
I want to port my testing tools from Abbot to TPTP, previously when using
Abbot I don't use any GUI recorder facility as Abbot does not have one
(for SWT).
Question:
=========
1. Is it possible to test my SWT GUI application using TPTP but without
AGR ? 2. 2. Does AGR provide API to find widgets on the GUI, for instance
?
3. What about testing the JFace dialog in SWT apps, for instance I need to
verify that a JFace dialog popups when I click a button, is it easy to
perform this kind of test in TPTP ?
Any information would be greatly appreciated.
Regards,
Setya
|
|
|
Re: Testing SWT GUI without AGR [message #65754 is a reply to message #63768] |
Tue, 11 April 2006 14:50  |
Eclipse User |
|
|
|
Hi Setya
> 1. Is it possible to test my SWT GUI application using TPTP but without
> AGR ?
You can wrap the JUnit Abbot methods in a TPTP JUnit.
> 2. Does AGR provide API to find widgets on the GUI, for instance?
There are no public APIs available but take a look at the implementers of
the org.eclipse.tptp.test.auto.gui.widgetResolver extension point to see if
it helps.
> 3. What about testing the JFace dialog in SWT apps, for instance I need to
> verify that a JFace dialog popups when I click a button, is it easy to
> perform this kind of test in TPTP ?
AGR doesn't support standalone SWT, but if you're willing to use Abbot in
TPTP, then you might find it possible to re-use the auto gui plugin's
classes to be able to verify the existence of the JFace dialog.
"Setya" <jsetya@yahoo.com> wrote in message
news:5141805aab7edccd1ae5987100e039d4$1@www.eclipse.org...
> Hi all,
>
> I want to port my testing tools from Abbot to TPTP, previously when using
> Abbot I don't use any GUI recorder facility as Abbot does not have one
> (for SWT).
>
> Question:
> =========
> 1. Is it possible to test my SWT GUI application using TPTP but without
> AGR ? 2. 2. Does AGR provide API to find widgets on the GUI, for instance
> ?
> 3. What about testing the JFace dialog in SWT apps, for instance I need to
> verify that a JFace dialog popups when I click a button, is it easy to
> perform this kind of test in TPTP ?
>
> Any information would be greatly appreciated.
>
> Regards,
>
> Setya
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04061 seconds