Add Test-cases from another "Test Project" to Test

The release related discussions, plans and questions.
Locked
Robertp
Advanced user
Posts: 28
Joined: Thu Oct 02, 2008 12:27 pm
Location: norway

Add Test-cases from another "Test Project" to Test

Post by Robertp »

I have two Test projects namely X and Y.

I created a Test plan (Z) under X and added test cases from same project to it.

As per the user documentation section 5.3, it shall be possible to add test cases from another test-project Y to test plan Z.

Wondering how can it be achieved ?

thanks,
rajeevanand
Advanced user
Posts: 20
Joined: Tue Oct 21, 2008 6:41 am
Location: Bangalore, INDIA
Contact:

Post by rajeevanand »

Ya. You are right. I can't see how this can be done.

I logged in as an admin and checked if I can add into my project X, tests from project Y.

Unable to do so.

:(
Participate and help people become better testers
http://www.softwaretestingconcepts.com
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

Please point me to the place where is described this. It should not be done in 1.7 directly. Thanks.
You could use export/import as workaround.
Robertp
Advanced user
Posts: 28
Joined: Thu Oct 02, 2008 12:27 pm
Location: norway

Post by Robertp »

I have installed version 1.7.4 and 1.8 beta 3 (in parallel). They are unaware of each other.

Download the user manual using the link
http://www.teamst.org/_tldoc/1.7/user_manual.pdf

The section 5.3 clearly states that "Data from multiple Test Projects can be added into one Test Plan"

could be possible that I am misinterpreting something.

Thanks for reply.
rajeevanand
Advanced user
Posts: 20
Joined: Tue Oct 21, 2008 6:41 am
Location: Bangalore, INDIA
Contact:

Post by rajeevanand »

I downloaded the User manual for Testlink 1.7.

If you lookup '5.3', you'll see this:

----------------------------------------
5.3 Populating Test Plan - adding Test Cases
Data from multiple Test Projects can be added into one Test Plan. Test Specification data can
be filtered by keywords (adjusted in navigation pane).
----------------------------------------

That is the confusing bit.

Is this possible with 1.8 ?

Thanks
Raj
Participate and help people become better testers
http://www.softwaretestingconcepts.com
Robertp
Advanced user
Posts: 28
Joined: Thu Oct 02, 2008 12:27 pm
Location: norway

Post by Robertp »

To answer raj,

not possible with 1.8 beta 3 either.
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

I fix documentation. This behavior was possible in 1.6 and earlier. We consider to get it back. I believe there is already issue in tracker. You could state your interest there.
Thanks.
Robertp
Advanced user
Posts: 28
Joined: Thu Oct 02, 2008 12:27 pm
Location: norway

Post by Robertp »

I can see two issues directly related to this issue.

http://www.testlink.org/mantis/view.php?id=867
and
http://www.testlink.org/mantis/view.php?id=758

both are closed ("wont fix" and "no change required").
I can try to implement the solution suggested in 867, and see what happens.

will let you know.

I hope you meant these two issues, or there were some other as well.


thanks for reply.
Robertp
Advanced user
Posts: 28
Joined: Thu Oct 02, 2008 12:27 pm
Location: norway

Post by Robertp »

Added the field productid (integer) in table TestPlans, set the value to 0 for one of the testplans.
Edited the config file to set the parameter (show tp without prod) to True.

Still cant see what I am looking for....

am I doing anything wrong ?


thanks,
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

simple solution for complex problems always means wrong results.
We have choose time ago to maintain test plans as test project children, and one children can not have two different parent.
You are missing many aspects of TL, like save execution results, reporting, etc.

We will reconsider in future, how to reimplement this feature, but is not simple matter of adding testproject id to test plan table.

Issue is wide enough that is not possible to be discussed via forum.
This issue has not high priority (at least today) for future releases.
Robertp
Advanced user
Posts: 28
Joined: Thu Oct 02, 2008 12:27 pm
Location: norway

Post by Robertp »

Totally understandable; and agree with every bit of your comments.

In companies (feks like ours) where they have multiple products; its quite often that the products are related/dependent to each other (behind the scenes); they share some common features/components even DB.

Like you said, its a nice to have feature, and I agree; shouldn't be high on priority list.

Thanks for explanation anyway.
la93
TestLink user
Posts: 3
Joined: Wed Jan 21, 2009 9:28 pm

would really like this feature

Post by la93 »

PLEASE correct the manual. This was a key needed feature, and we would also use it to create reports across all projects. We will probably now have to clump projects together and this makes it impossible to link to our bug-tracking. I installed based on the manual, and now we have to re-think it all. otherwise, thanks ;)
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

I apologize for confusing you. Manual for 1.7 is not clear. It is described better in manual for 1.8 version.

I think about possibility to share data your way. Maybe some master report based on data from more Test Plans could be solution acceptable by DEV team better than shared Test Plans. Do you have idea how it should work? How to say which data will be in such report?

In our company Integration test team has own Test specification so we have not this problem.
Locked