Changing test case field names?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bcash
    Junior Member
    • Jul 2007
    • 12

    #1

    Changing test case field names?

    Is it possible to rename the test case fields 'Test Type' and 'Test phase'? If so, what files would need to be edited?
  • Tim (PassMark)
    Senior Member
    • Mar 2005
    • 1723

    #2
    From one of the templates (or a copy of one) you can edit TestCaseTemplate.html and PrjTestCaseTemplate.html and replace the <!--TL_TESTTYPE_HEADING--> and <!--TL_TESTPHASE_HEADING--> tags with your customised equivalent.

    You can also edit TestCaseEdit.html and PrjTestCaseEdit.html so editing via the web version uses the new names but the edit dialog in the standalone version of TestLog will remain static.

    Comment

    • ismee
      Member
      • Sep 2007
      • 37

      #3
      TimR,
      i change the <!--TL_FAULTREP_HEADING--> to
      <!--TL_PROBLEMS_HEADING-->
      but it doesn't change, is empty now.
      why?

      Comment

      • Tim (PassMark)
        Senior Member
        • Mar 2005
        • 1723

        #4
        The <!-- --> means it is a HTML comment, when TestLog processes the template file it searches for the comment tags that we use and replace them with the plain text equivalent.

        <!--TL_PROBLEMS_HEADING--> is not a tag recognised by TestLog and won't be processed to contain anything, you need to enter your own plain text entry such as "Problem" instead of a unrecognised HTML comment.

        There is more information on the tags that are used throughout the templates in the Display Templates section of the help file.

        Comment

        • bcash
          Junior Member
          • Jul 2007
          • 12

          #5
          changed the files, but ....

          TimR,
          I changed the files to reflect 'Test Level' instead of 'Test phase' but only see the results in the test case view pane on the right. If I open the test case to edit, the field is the old name (Test phase)

          Comment

          • Tim (PassMark)
            Senior Member
            • Mar 2005
            • 1723

            #6
            As per my first post, the edit templates only affect the web version as the edit dialog in the standalone version is a static object.

            Comment

            • robertcbyrd
              Junior Member
              • Mar 2008
              • 14

              #7
              Rename Test Type in Standalone Version

              Is there a way to rename a Test Type in the standalone version?

              If not, PLEASE include this in a near future release. Having to delete and add a test type and then update all affected items is not a workable model.

              Thanks Bob

              Comment

              • Tim (PassMark)
                Senior Member
                • Mar 2005
                • 1723

                #8
                Currently no, there isn't a way to rename a status and have all the out of date test cases update to the new status. We'll keep this is mind for the next major version.

                Comment

                Working...