Introduction
It is possible to inject links in the test scenario description section
There are 3 styles to use
Using wiki style
The format is [Page description|http://some.page.url/page.html]
This way you set a URL name. The URL can contain spaces
Just writing the URL
The format is http://some.page.com/page.html
The spaces are not allowed here
Writing the URL in quotes
"http://some.page.com/page name with spaces.html"
The URL can contain spaces
We do not allow any HTML tags in the description.
If there is some HTML code, it will be escaped and displayed as text.
Java code example
Here is how you do it in your java code
public class SomeTestClass { @Test(description = "Related to [BUG 18617|https://hostforbugs.com/MyCompany/id=18617]") public void test1() { } @Test(description = "For more information check this https://hostforbugs.com/MyCompany/id=18617") public void test2() { } }
Test Explorer example
Here is what you get in Test Explorer UI
Go to parent page
Go to Table of Contents