Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » How to record tests on eclipse plugin and replay in tptp 4.4.1?
How to record tests on eclipse plugin and replay in tptp 4.4.1? [message #136950] Tue, 14 October 2008 12:15 Go to next message
prasanna is currently offline prasannaFriend
Messages: 7
Registered: July 2009
Junior Member
Hi all,

I use Eclipse - 3.3.2 and I am on Windows XP.
I have written a eclipse-plugin which I want to test out with eclipse
tptp-4.4.1 which I have not been able to.

The details are as follows :

I switch to 'Test' perspective and I get a view called 'Recorder control'.
I press the red 'Create new test from recording' button and it brings up a
window that asks me to select Recorder.
There is only one recorder available and is called 'HTTP Recording' and is
selected. I press next and give file name and press finish. It brings up
browser and when I close it recording stops and a test file gets created.

As I want to test out my eclipse plugin and not a webapp, I set in
preferences ->Test ->HTTP Recording -> 'Application to record' to None.

Then I try to record again by pressing the above said red button, the
browser doesn't come up instead I see a message 'Recorder Initialization
completed. You may manually start the application'. Then I run my plug-in
project which comes up in a new runtime workbench and closes immediately.
Then I stop the recoding myself and this time I see no test file having
been created.

I just can't get testing (recording mouse clicks and replaying) the
plug-in to work using tptp.

I found this page
http://www.eclipse.org/tptp/test/documents/userguides/Intro- Auto-GUI-4-4-0.html#1.3

on the web but is not in sync with my installation (4.4.1).

How do I record tests on my plug-in?

Thanks.
Re: How to record tests on eclipse plugin and replay in tptp 4.4.1? [message #136962 is a reply to message #136950] Tue, 14 October 2008 12:53 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Prasanna,
The URL Recorder and TPTP URL Test type is for recording and performance
testing web applications. You want to use the TPTP Automated GUI Recorder
(AGR):

http://www.eclipse.org/tptp/home/downloads/?ver=4.4.1#TechPr eview
http://www.eclipse.org/tptp/test/documents/userguides/Intro- Auto-GUI-4-4-0.html

Paul
"Prasanna " <prasanna@magiclampsoftware.com> wrote in message
news:f9823dbe68c61ffc5a2ed31518e96593$1@www.eclipse.org...
> Hi all,
>
> I use Eclipse - 3.3.2 and I am on Windows XP.
> I have written a eclipse-plugin which I want to test out with eclipse
> tptp-4.4.1 which I have not been able to.
>
> The details are as follows :
>
> I switch to 'Test' perspective and I get a view called 'Recorder control'.
> I press the red 'Create new test from recording' button and it brings up a
> window that asks me to select Recorder.
> There is only one recorder available and is called 'HTTP Recording' and is
> selected. I press next and give file name and press finish. It brings up
> browser and when I close it recording stops and a test file gets created.
>
> As I want to test out my eclipse plugin and not a webapp, I set in
> preferences ->Test ->HTTP Recording -> 'Application to record' to None.
>
> Then I try to record again by pressing the above said red button, the
> browser doesn't come up instead I see a message 'Recorder Initialization
> completed. You may manually start the application'. Then I run my plug-in
> project which comes up in a new runtime workbench and closes immediately.
> Then I stop the recoding myself and this time I see no test file having
> been created.
>
> I just can't get testing (recording mouse clicks and replaying) the
> plug-in to work using tptp.
>
> I found this page
> http://www.eclipse.org/tptp/test/documents/userguides/Intro- Auto-GUI-4-4-0.html#1.3
> on the web but is not in sync with my installation (4.4.1).
> How do I record tests on my plug-in?
>
> Thanks.
>
Re: How to record tests on eclipse plugin and replay in tptp 4.4.1? [message #137031 is a reply to message #136962] Wed, 15 October 2008 06:21 Go to previous messageGo to next message
prasanna is currently offline prasannaFriend
Messages: 7
Registered: July 2009
Junior Member
Hi Paul,

Thanks so much but my plug-in testing with eclipse - tptp hasn't started
off yet.

I'd like to draw your attention to section 2.0 in the online document you
referred me to.
There is a screen shot of 'New' dialog.
When I follow the step 5 provided in that document I don't get the
(selected in the document) option : 'TPTP Automated GUI Test'.

The options I see are :

Test Case
Test from Recording
TPTP JUnit Plug-in Test
TPTP JUnit test.
TPTP Manual Test.
TPTP URL Test.

I have installed tptp 4.4.1.
What do I do to have the option 'TPTP Automated GUI Test' in New -> Test
window?

Thanks.
Re: How to record tests on eclipse plugin and replay in tptp 4.4.1? [message #137043 is a reply to message #137031] Wed, 15 October 2008 07:25 Go to previous messageGo to next message
prasanna is currently offline prasannaFriend
Messages: 7
Registered: July 2009
Junior Member
I downloaded the tptp AGR feature from this page :

http://archive.eclipse.org/tptp/4.1.0.1/TPTP-4.1.0.1/

I installed it using update manager -> Add new Local site.

I do find the option "TPTP Automated GUI Test" when I follow step 5 in
section 2.0 in the document as File Menu > New > Other > Test.

When I select "TPTP Automated GUI Test" and press "Next", I get a popup
with the message : "The selected wizard could not be started. Reason :
Plugin org.eclipse.tptp.test.auto.gui as unable to load class
org.eclipse.tptp.test.auto.gui.internal.wizard.AutoGUITestSu iteNewWizard ".

Now what should I do?

Thanks.
Re: How to record tests on eclipse plugin and replay in tptp 4.4.1? [message #137055 is a reply to message #137043] Wed, 15 October 2008 10:45 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Prasanna,
I would suggest installing the AGR using the standard installation
steps:

http://www.eclipse.org/tptp/test/documents/gettingstarted/Au tomated_GUI_Recorder_Getting_Started.html#2.0

Paul
"prasanna " <prasanna@magiclampsoftware.com> wrote in message
news:8c4abd43dbd99dc87fdd498fbd370dbe$1@www.eclipse.org...
>I downloaded the tptp AGR feature from this page :
>
> http://archive.eclipse.org/tptp/4.1.0.1/TPTP-4.1.0.1/
>
> I installed it using update manager -> Add new Local site.
>
> I do find the option "TPTP Automated GUI Test" when I follow step 5 in
> section 2.0 in the document as File Menu > New > Other > Test.
>
> When I select "TPTP Automated GUI Test" and press "Next", I get a popup
> with the message : "The selected wizard could not be started. Reason :
> Plugin org.eclipse.tptp.test.auto.gui as unable to load class
> org.eclipse.tptp.test.auto.gui.internal.wizard.AutoGUITestSu iteNewWizard ".
>
> Now what should I do?
>
> Thanks.
>
Re: How to record tests on eclipse plugin and replay in tptp 4.4.1? [message #137066 is a reply to message #137031] Wed, 15 October 2008 10:47 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Prasanna,
TPTP and AGR are built on Eclipse, so they can be integrated with your
application, assuming they use the same versions of Eclipse/EMF/XSD, for
testing your application.

I would suggest installing the AGR using the standard installation
steps:

http://www.eclipse.org/tptp/test/documents/gettingstarted/Au tomated_GUI_Recorder_Getting_Started.html#2.0

Paul
"prasanna " <prasanna@magiclampsoftware.com> wrote in message
news:df4158f6e1f56d3636b76c0ab6678526$1@www.eclipse.org...
> Hi Paul,
>
> Thanks so much but my plug-in testing with eclipse - tptp hasn't started
> off yet.
>
> I'd like to draw your attention to section 2.0 in the online document you
> referred me to.
> There is a screen shot of 'New' dialog.
> When I follow the step 5 provided in that document I don't get the
> (selected in the document) option : 'TPTP Automated GUI Test'.
>
> The options I see are :
> Test Case
> Test from Recording
> TPTP JUnit Plug-in Test
> TPTP JUnit test.
> TPTP Manual Test.
> TPTP URL Test.
>
> I have installed tptp 4.4.1.
> What do I do to have the option 'TPTP Automated GUI Test' in New -> Test
> window?
>
> Thanks.
>
Re: How to record tests on eclipse plugin and replay in tptp 4.4.1? [message #137339 is a reply to message #137055] Thu, 23 October 2008 09:18 Go to previous messageGo to next message
prasanna is currently offline prasannaFriend
Messages: 7
Registered: July 2009
Junior Member
Hi Paul,

Even after I downloaded the latest eclipse, tptp plug-in and AGR, I
continue to get the same message :
I get a popup with the message : "The selected wizard could not be
started. Reason : Plugin org.eclipse.tptp.test.auto.gui as unable to load
class
org.eclipse.tptp.test.auto.gui.internal.wizard.AutoGUITestSu iteNewWizard ".

This is frustrating. What can be the possible solution?

Thanks.

Paul Slauenwhite wrote:

> Hi Prasanna,
> I would suggest installing the AGR using the standard installation
> steps:

>
http://www.eclipse.org/tptp/test/documents/gettingstarted/Au tomated_GUI_Recorder_Getting_Started.html#2.0
Re: How to record tests on eclipse plugin and replay in tptp 4.4.1? [message #137363 is a reply to message #137339] Thu, 23 October 2008 11:31 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Prasanna,
I have verified that the TPTP 4.5.1 release and TPTP 4.5.2 candidate
build (TPTP-4.5.2-200810210100) build is working. I believe that your
installation is somehow faulty. Please:

1) Download the TPTP all-in-one and AGR ZIPs.
2) Unzip the TPTP all-in-one ZIP.
3) Unzip the AGR ZIP in the <Eclipse home>/eclipse/dropins.
4) Start Eclipse with the -clean option.

Paul
"prasanna " <prasanna@magiclampsoftware.com> wrote in message
news:68de82cd2f737e493b1383488a60e147$1@www.eclipse.org...
> Hi Paul,
>
> Even after I downloaded the latest eclipse, tptp plug-in and AGR, I
> continue to get the same message : I get a popup with the message : "The
> selected wizard could not be started. Reason : Plugin
> org.eclipse.tptp.test.auto.gui as unable to load class
> org.eclipse.tptp.test.auto.gui.internal.wizard.AutoGUITestSu iteNewWizard ".
>
> This is frustrating. What can be the possible solution?
>
> Thanks.
>
> Paul Slauenwhite wrote:
>
>> Hi Prasanna,
>> I would suggest installing the AGR using the standard installation
>> steps:
>
>>
> http://www.eclipse.org/tptp/test/documents/gettingstarted/Au tomated_GUI_Recorder_Getting_Started.html#2.0
>
>
>
Re: How to record tests on eclipse plugin and replay in tptp 4.4.1? [message #137409 is a reply to message #137363] Thu, 23 October 2008 14:30 Go to previous message
prasanna is currently offline prasannaFriend
Messages: 7
Registered: July 2009
Junior Member
Hi Paul,

Got that to work. Finally.
I was downloading something wrong all the while.
Thanks for your patience.

-prasanna.
Previous Topic:attach failed error
Next Topic:Using Probes and TPTP in Eclipse
Goto Forum:
  


Current Time: Thu Nov 27 08:31:29 GMT 2014

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

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