Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » How to export testsuites/testcases created by AGR
How to export testsuites/testcases created by AGR [message #52304] Wed, 01 February 2006 09:45 Go to next message
Priya is currently offline PriyaFriend
Messages: 6
Registered: July 2009
Junior Member
Hello,

Firstly, let me congratulate you guys on developing this great tool "AGR".
Its damn nice and really useful in testing GUI actions.

Well, I have been able to setup TPTP, create a test case and run it in
standard mode sucessfully (thanks to the wonderful documentation
available!). My testProject includes the following components
1. A Test Suite
2. Several test cses within the test suite
3. A datapool

Now, we are a team of 4 working on a plugin to eclipse. Each one of us
will write individual testsuites and testcases. We would like todo the
following
1. Run all the testsuites developed by all of us as a single
regression test (i guess we can do this by using ant)
2. We would like to share the testsuites and testcases i.e.,
export/import testsuites and export/import testcases within testsuites.

But I found that on the Export wizard, we can export only datapools. There
is no option to export testsuites and testcases. Is it possible to
testsuites/testcases developed by other developers into our plug-in
project?

Thanks in advance.

-Priya
Re: How to export testsuites/testcases created by AGR [message #52587 is a reply to message #52304] Thu, 02 February 2006 16:11 Go to previous message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
Hi Priya,

> 1. Run all the testsuites developed by all of us as a single
> regression test (i guess we can do this by using ant)

Yes, you can run a regression of your test suite using an ant file or any
other light client
supported by the automatable service framework. See
Help Contents > TPTP Tester Guide > Performance Testing with TPTP >
Launching tests from scripts and applications

> 2. We would like to share the testsuites and testcases i.e.,
> export/import testsuites and export/import testcases within testsuites.

The test suites themselves are persisted resources. You can import the test
suite in your workspace by either importing the plugin that contains the
test suite or by
copying the test suite (along with any other resources that it uses
(datapool, java source file, etc...) into
your workspace).
Because the test suites are generic and can use a variable set of resources,
it's difficult to provide a common
export option for all available test suites. What I recommend is storing
your test suites in a separate plugin that is accessible
to all your team members in a common repository.

As for exporting test cases: you can reference a test case from another test
suite under the behavior page.
For example given test suite A with test case tc1, then you can add tc1 to
test suite B by:

- Opening the behavior page of B
- Click on Add Child
- Find the test suite A under the list displayed in the lower pane of the
dialog
- Expand test suite A and select tc1.

Thanks for your interest in TPTP.


"Priya" <priyasavadi@yahoo.com> wrote in message
news:0e180cd40beac7285978762b407d4b6e$1@www.eclipse.org...
> Hello,
>
> Firstly, let me congratulate you guys on developing this great tool "AGR".
> Its damn nice and really useful in testing GUI actions.
>
> Well, I have been able to setup TPTP, create a test case and run it in
> standard mode sucessfully (thanks to the wonderful documentation
> available!). My testProject includes the following components
> 1. A Test Suite
> 2. Several test cses within the test suite
> 3. A datapool
>
> Now, we are a team of 4 working on a plugin to eclipse. Each one of us
> will write individual testsuites and testcases. We would like todo the
> following
> 1. Run all the testsuites developed by all of us as a single
> regression test (i guess we can do this by using ant)
> 2. We would like to share the testsuites and testcases i.e.,
> export/import testsuites and export/import testcases within testsuites.
>
> But I found that on the Export wizard, we can export only datapools. There
> is no option to export testsuites and testcases. Is it possible to
> testsuites/testcases developed by other developers into our plug-in
> project?
>
> Thanks in advance.
>
> -Priya
>
Previous Topic:Profile Application causes Eclipse to use 50% CPU refreshing workspace
Next Topic:Running TPTP tests from an external framework
Goto Forum:
  


Current Time: Tue Apr 23 06:22:57 GMT 2024

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

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

Back to the top