Access other Test Cases from inside a Test Case

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
pxsh
TestLink user
Posts: 3
Joined: Tue Dec 18, 2012 3:38 pm

Access other Test Cases from inside a Test Case

Post by pxsh »

Hi,

I wanted a facility by which we can navigate directly to the Test Case details by clicking the Test Case ID.

Currently we have Pre-Conditions box where we an specify pre-requisite TC-IDs
Furthermore I have created a custom field "Dependent TCs" where we can put IDs of other dependent TCs.

Say TC-4 has pre-conditions has TC-2 and TC-1 as depenedent TCs but both of these are plain texts and nothing happens on click.
Is there any feature or way by which I can make the TC# navigable on click?
gianmaria
Advanced user
Posts: 54
Joined: Sat Dec 15, 2012 7:40 am
Location: Pavia, Italy
Contact:

Re: Access other Test Cases from inside a Test Case

Post by gianmaria »

I'd like to have the same functionality.
If I have understood well it is not available now on TL.
You can use direct link to the test case like:
http://link.blablabla.com/testlink/lib/ ... low_edit=0

where the testcaseid is the TC-IDs
Cloud solutions, https://onemediahub.com/
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Access other Test Cases from inside a Test Case

Post by fman »

why not http://mantis.testlink.org/view.php?id=4796 ?
We have provided link to this on:
http://www.teamst.org/forum/viewtopic.php?f=17&t=6732
With Subject => How To - Reuse Test Case

is not as direct as adding #TESTCASEID#, but it works very well and do not require additional processing when rendering the
text areas.
For requirements the #ID# approach was followed


From my point of view this Post ORIGINAL Subject is not clear and misleading (Test Case Navigation)
pxsh
TestLink user
Posts: 3
Joined: Tue Dec 18, 2012 3:38 pm

Re: Access other Test Cases from inside a Test Case

Post by pxsh »

Thanks fman,
I was able to provide link to my previous bugs using the solution you've mentioned in mantis.
However that seems to work in Firefox only.
I tried in google chrome and the links don't take me anywhere rather they just open blank browser window.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Access other Test Cases from inside a Test Case

Post by fman »

tested with chrome on Fedora 14 32bits, Gnome 2 => worked ok
pxsh
TestLink user
Posts: 3
Joined: Tue Dec 18, 2012 3:38 pm

Re: Access other Test Cases from inside a Test Case

Post by pxsh »

yes it's working fine for them too.
The hyperlink on test case didn't come if we access them by searching eg: TC-72 in the search field.
However if we open the direct url then the links inside a test case body are clickable

eg: http://my_ip:8080/linkto.php?tprojectPrefix=TC&item=testcase&id=TC-332
Then all links for a testcase eg: TC-49 will be clickable

But If I search TC-332, then the result displayed doesn't show a link for TC-49 in its body
Hope the query is clear
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Access other Test Cases from inside a Test Case

Post by fman »

Please open an issue on Mantis, remember that Forum is not for issues
Post Reply