Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Testing SWT GUI without AGR
Testing SWT GUI without AGR [message #63768] Tue, 04 April 2006 10:34 Go to next message
Eclipse UserFriend
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 18:50 Go to previous message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
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
>
>
Previous Topic:Program Arguments and VM Arguments Problem
Next Topic:May I define variable in AGR?
Goto Forum:
  


Current Time: Fri Apr 26 22:03:22 GMT 2024

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

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

Back to the top