Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

[UI Script] Adding a tab to projects


#1

For those who were previously using the UI script on TestRail 3.0 to add a new tab to projects, here is the difference between versions:

TestRail Version 3.x:

name: Adds a new tab to projects for TestRail version 3.x
description: Adds a new tab to projects for TestRail version 3.x
author: Gurock Software
version: 1.0
includes: ^cases|^tests
excludes: 

js:
$(document).ready(
    function() {
            $('#mainMenu ul').append(
                '<li><a href="http://www.myurl.com">My website</a></li>');
    }
);

TestRail Version 4.0:

name: Adds a new tab to projects for TestRail version 4.0
description: Adds a new tab to projects for TestRail version 4.0
author: Gurock Software
version: 1.1
includes: ^cases|^tests
excludes: 

js:
$(document).ready(
    function() {
            $('#header').append(
                '<li class="header-menu-item"><a tabindex="-1" href="http://www.myurl.com">My Website</a></li>');
    }
);

#2

Hello Adron,

This looks really useful, thanks for sharing!

Regards,
Tobias