Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Version compatibility and Drag-and-Drop feature
Version compatibility and Drag-and-Drop feature [message #66987] Tue, 18 April 2006 12:14 Go to next message
Juseint D. Generoso is currently offline Juseint D. Generoso
Messages: 2
Registered: July 2009
Junior Member
Hi,

I just started using TPTP's Automated GUI Recorder (AGR) as part of
evaluating tools to use for automating tests in Eclipse.

(1.) I'm actually using the following component versions, quite different
from the required ones for TPTP v4.1.0.1:

Requirements for 4.1.0.1
------------------------
Eclipse 3.1.0 Eclipse 3.1.2 (SDK)
XSD 2.1.0 XSD 2.1.2
WTP 0.7 WTP 1.0 (optional)

Would there be any known incompatibility effect/s if I continue using
these versions?


(2.) Does TPTP have a drag-and-drop feature?

Our implementation uses several views where we are able to select and
perform drag-and-drop of elements from one view to another to establish
links between them graphically (say, a node from the Outline view to
Process view, and generate a corresponding code). I tried recording this
portion, but it seems that the AGR only recognizes 'til the 'item-select'
command type. Though it's outright not listed as part of commands it
currently has (normally test automation tools would have this
drag-and-drop features as a separate command), would a workaround be
possible for this? Or, another TPTP tool somehow addresses this aside from
AGR?

Thanks much!

Seint
Drag-and-Drop Feature [message #67198 is a reply to message #66987] Thu, 20 April 2006 11:31 Go to previous messageGo to next message
Eclipse User
Originally posted by: mike.reidy.gmail.com

I am also interested in recording a drag and drop using the GUI Recorder
in TPTP. I have tried recording some and they don't seem to work. If I
look at the macro created when I do this all I get is an "item select" and
nothing more.

A simple use case would be to create a java project with some packages and
classes and simply record moving classes from one package to another
without using the "Refactor" -> "Move..." menus.

Will I raise a bug or is there a way to do this?

Mike
Re: Drag-and-Drop Feature [message #67336 is a reply to message #67198] Fri, 21 April 2006 10:52 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
To some degree this is supported with position based recording, using mouse
down/up commands:
<command type="mouse-down" detail="1" x-coord="103" y-coord="535"/>
<command type="mouse-up" detail="1" x-coord="75" y-coord="450"/>

There are times where the macro playback operation gets blocked when a mouse
event is sent programmatically. As such, the particular use case that you
have listed below doesn't work. I have opened the following defect
https://bugs.eclipse.org/bugs/show_bug.cgi?id=137955 to further investigate
the problem.

"Mike Reidy" <mike.reidy@gmail.com> wrote in message
news:273d0e325758d2b46b8853fd01c6610a$1@www.eclipse.org...
> I am also interested in recording a drag and drop using the GUI Recorder
> in TPTP. I have tried recording some and they don't seem to work. If I
> look at the macro created when I do this all I get is an "item select" and
> nothing more.
>
> A simple use case would be to create a java project with some packages and
> classes and simply record moving classes from one package to another
> without using the "Refactor" -> "Move..." menus.
>
> Will I raise a bug or is there a way to do this?
>
> Mike
>
Re: Version compatibility and Drag-and-Drop feature [message #67351 is a reply to message #66987] Fri, 21 April 2006 10:54 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
1) I don't suspect any new problems to popup if you haven't yet noticed any
issues using AGR.
2) See my reply to Mike Reidy.

Thanks.

"Juseint D. Generoso" <juseint@yahoo.com> wrote in message
news:e6e0f51fc4e95ac45a1851a7eb2c0d61$1@www.eclipse.org...
> Hi,
>
> I just started using TPTP's Automated GUI Recorder (AGR) as part of
> evaluating tools to use for automating tests in Eclipse.
>
> (1.) I'm actually using the following component versions, quite different
> from the required ones for TPTP v4.1.0.1:
>
> Requirements for 4.1.0.1
> ------------------------
> Eclipse 3.1.0 Eclipse 3.1.2 (SDK)
> XSD 2.1.0 XSD 2.1.2
> WTP 0.7 WTP 1.0 (optional)
>
> Would there be any known incompatibility effect/s if I continue using
> these versions?
>
>
> (2.) Does TPTP have a drag-and-drop feature?
>
> Our implementation uses several views where we are able to select and
> perform drag-and-drop of elements from one view to another to establish
> links between them graphically (say, a node from the Outline view to
> Process view, and generate a corresponding code). I tried recording this
> portion, but it seems that the AGR only recognizes 'til the 'item-select'
> command type. Though it's outright not listed as part of commands it
> currently has (normally test automation tools would have this
> drag-and-drop features as a separate command), would a workaround be
> possible for this? Or, another TPTP tool somehow addresses this aside from
> AGR?
>
> Thanks much!
>
> Seint
>
Re: Version incompatibility issue? [message #67789 is a reply to message #67351] Mon, 24 April 2006 05:41 Go to previous messageGo to next message
Juseint D. Generoso is currently offline Juseint D. Generoso
Messages: 2
Registered: July 2009
Junior Member
Thanks for your response, Ali.

For (1.), I noticed that with the said version combination (not quite sure
though if it is related to this issue at all), for every unexpected error
encountered during playback, Eclipse (with our implementation) seemed to
'drag' more and more, with the CPU process status on 'not responding' for
a long while, and CPU usage history on high levels. When it finally comes
back, the workspace display could look ‘strange;’ either some of the items
are missing or graphical views distorted. I've observed this behavior
consistently whenever I run scripts after recording and hitting some error
– even with timeout.

Is there a known problem as this?
Re: Version incompatibility issue? [message #67931 is a reply to message #67789] Mon, 24 April 2006 15:48 Go to previous message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
I'm not sure whether your particular configuration is causing this.
There were some performance issues that I resolved in 4.2, they may or many
not be related to what you are experiencing. You may want to upgrade to 4.2
to see if these problems are resolved.


"Juseint D. Generoso" <juseint@yahoo.com> wrote in message
news:c726615e881a9f522c46ad98a587ecbf$1@www.eclipse.org...
> Thanks for your response, Ali.
>
> For (1.), I noticed that with the said version combination (not quite sure
> though if it is related to this issue at all), for every unexpected error
> encountered during playback, Eclipse (with our implementation) seemed to
> 'drag' more and more, with the CPU process status on 'not responding' for
> a long while, and CPU usage history on high levels. When it finally comes
> back, the workspace display could look
Previous Topic:Agent Controller on AIX
Next Topic:Profiler will not start my plugin..
Goto Forum:
  


Current Time: Fri Aug 29 08:13:53 EDT 2014

Powered by FUDForum. Page generated in 0.03613 seconds