Knowledgebase

Search:     Advanced search

Disabling TestTrack Pro Web Textarea Fields

Article ID: 567  |  Last updated: 31 Dec, 2014

Note: The following information only applies to TestTrack 2013.0.2 and earlier.

Problem

When viewing defects in TestTrack Pro Web, users can enter information in the Description, Steps to Reproduce, and Other Hardware and Software fields. Any information that is entered cannot be saved because users are in View mode. When they exit View mode, which is read-only, any information they entered is discarded.

Cause

Some browsers disable field scroll bars when a read-only flag is applied to a field. These browsers cannot properly interpret the W3C standards for HTML.

To enable the scroll bar, TestTrack Pro uses a read-write flag for textarea fields. This ensures users can view all information in the textarea fields. Conversely, users think they can enter information into these fields.

Solution

Set a read-only flag for the textarea fields instead of using the default read-write flag. You can replace the ttweb_editdefect.htm file with the attached file. This file automatically overrides the read-write flag and forces a read-only flag.

  1. Open the original ttweb_editdefect.htm file. This file is located in the ttweb directory. For example, on a Windows computer the path to this file is generally C:/Inetpub/wwwroot/ttweb.
  2. Make a backup copy of the original file.
  3. Download the attached ttweb_editdefect.zip file.
  4. Unzip the file and open it in a browser.
  5. Choose File > Save As to replace the existing HTML file or select View Source and copy and paste all of the source text into the existing HTML file.
    Note: If you upgrade TestTrack Pro, make sure you change the ttweb_editdefect.htm file again. Existing HTML files are overwritten for most major TestTrack Pro upgrades.

Code changes for ttweb_editdefect.htm were generously provided by Hans Aaldijk of AtosEuronext Netherlands. You can redistribute and/or modify the code. This code is distributed as is, without any warranty.

Article ID: 567  |   Last updated: 31 Dec, 2014
Tags
read-only edit modify View mode textarea

Attached files
file ttweb_editdefect.zip (5 kb)

Prev   Next
Opening TestTrack Pro Web in the Current Browser Window     Saving the Workflow Diagram in TestTrack Pro Web