Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » How to run a recorded AutoGUI macro inside a JUnit test suite?
How to run a recorded AutoGUI macro inside a JUnit test suite? [message #134417] Tue, 19 August 2008 12:56 Go to next message
Vincent MAHE is currently offline Vincent MAHEFriend
Messages: 129
Registered: July 2009
Senior Member
Hello

As an integrator, I must test an Eclipse platform with many plug-ins
which provide modeling tools to users.

The manual testing of each function is boring and time-consuming so I
would like to automate those tests.
I coded a set of tools which can run JUnit tests in an automated way on
a PlatformUnderTest and generate html results.
But insert a TPTP AutoGUI macro execution into the test (before an
assert, or even in the setUp() function) is not trivial. I try since one
week, with only negative results.

Is there someone who did it?

--
Cordialement

Vincent MAHÉ

Ingénieur Plate-forme OpenEmbeDD - http://openembedd.org
IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France
Tél: +33 (0) 2 99 84 71 00, Fax: +33 (0) 2 99 84 71 71
Re: How to run a recorded AutoGUI macro inside a JUnit test suite? [message #134563 is a reply to message #134417] Thu, 21 August 2008 10:23 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Vincent,
The TPTP AGR test type
( http://www.eclipse.org/tptp/test/documents/gettingstarted/Au tomated_GUI_Recorder_Getting_Started.html)
has an associated test runner that is used to execute an AGR test. The only
Java/JUnit code associated with an AGR test is for the verification points.
To run a an AGR test, you must use the Test Launch Configuration in the
Eclipse Launch Configuration dialog/UI or use the Ant or Java client adapter
provided by the TPTP Automatable Services Framework (ASF):

http://help.eclipse.org/ganymede/topic/org.eclipse.hyades.te st.doc.user/tasks/tlaunching-tests-from-scripts-and-applicat ions.htm

Paul
"Vincent Mahe" <vmahe@irisa.fr> wrote in message
news:g8efu0$geq$1@build.eclipse.org...
> Hello
>
> As an integrator, I must test an Eclipse platform with many plug-ins which
> provide modeling tools to users.
>
> The manual testing of each function is boring and time-consuming so I
> would like to automate those tests.
> I coded a set of tools which can run JUnit tests in an automated way on a
> PlatformUnderTest and generate html results.
> But insert a TPTP AutoGUI macro execution into the test (before an assert,
> or even in the setUp() function) is not trivial. I try since one week,
> with only negative results.
>
> Is there someone who did it?
>
> --
> Cordialement
>
> Vincent MAH
Previous Topic:Missing files in cvs for tptp 4.5?
Next Topic:**** Build of configuration (Exec error:Launching failed) in Standard Mode
Goto Forum:
  


Current Time: Sat Apr 27 02:53:50 GMT 2024

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

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

Back to the top