Search
 
SCRIPT & CODE EXAMPLE
 

HTML

simple html report template

<html>
    <head>
        <title>
            Test Report
        </title>
        <style type="text/css">

        .test-result-table {

            border: 1px solid black;
            width: 800px;
        }

        .test-result-table-header-cell {

            border-bottom: 1px solid black;
            background-color: silver;
        }

        .test-result-step-command-cell {

            border-bottom: 1px solid gray;
        }

        .test-result-step-description-cell {

            border-bottom: 1px solid gray;
        }

        .test-result-step-result-cell-ok {

            border-bottom: 1px solid gray;
            background-color: green;
        }

        .test-result-step-result-cell-failure {

            border-bottom: 1px solid gray;
            background-color: red;
        }

        .test-result-step-result-cell-notperformed {

            border-bottom: 1px solid gray;
            background-color: white;
        }

        .test-result-describe-cell {
            background-color: tan;
            font-style: italic;
        }

        .test-cast-status-box-ok {
            border: 1px solid black;
            float: left;
            margin-right: 10px;
            width: 45px;
            height: 25px;
            background-color: green;
        }

        </style>
    </head>
    <body>
        <h1 class="test-results-header">
            Test Report
        </h1>

        <table class="test-result-table" cellspacing="0">
            <thead>
                <tr>
                    <td class="test-result-table-header-cell">
                        Test Case
                    </td>
                    <td class="test-result-table-header-cell">
                        Description
                    </td>
                    <td class="test-result-table-header-cell">
                        Result
                    </td>
                </tr>
            </thead>
            <tbody>
                <tr class="test-result-step-row test-result-step-row-altone">
                    <td class="test-result-step-command-cell">
                        open /
                    </td>
                    <td class="test-result-step-description-cell">
                        Open browser to "/"
                    </td>
                    <td class="test-result-step-result-cell-ok">
                        OK
                    </td>
                </tr>
                <tr class="test-result-step-row test-result-comment-row">
                    <td class="test-result-describe-cell" colspan="3">
                        Describe: This is a comment
                    </td>
                </tr>
                <tr class="test-result-step-row test-result-step-row-alttwo">
                    <td class="test-result-step-command-cell">
                        click btnG
                    </td>
                    <td class="test-result-step-description-cell">
                        Click on page element with identifier of "btnG"
                    </td>
                    <td class="test-result-step-result-cell-failure">
                        FAILURE - Unable to find element named "btnG"
                    </td>
                </tr>
                <tr class="test-result-step-row test-result-step-row-altone">
                    <td class="test-result-step-command-cell">
                        assertTitle something
                    </td>
                    <td class="test-result-step-description-cell">
                        Test that the title of the page is "something"
                    </td>
                    <td class="test-result-step-result-cell-notperformed">
                        NOT PERFORMED
                    </td>
                </tr>
            </tbody>
        </table>
    </body>
</html>
source---- https://gist.github.com/cemremengu/5365729
Comment

PREVIOUS NEXT
Code Example
Html :: audio html tag 
Html :: less css 
Html :: how to echo data into an option tag as a link 
Html :: opening tag closing tag 
Html :: double underline in html 
Html :: input type tel 
Html :: onchange html 
Html :: how to create a form 
Html :: registration form bootstrap 
Html :: link tag 
Html :: intput field submit button 
Html :: tinymce image upload 
Html :: pop up animation css 
Html :: date range picker select date and several weeks 
Html :: how to revert php artisan ui vue --auth 
Html :: svelte pass arguments to function 
Html :: lorem ipsum full text 
Html :: converting HTML table to image 
Html :: bootstrap table small 
Html :: bootsrap card 
Html :: mat-toolbar 
Html :: how to loop in html 
Html :: how to resize all images in a class html 
Html :: html footer 
Html :: html4 
Html :: html elements list explained 
Html :: how to make a paragraph in html 
Html :: iframe text in html 
Html :: html5 exmaple 
Html :: buttons are not coming in same line html 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =