IBM Support

PM34042: RFT8202 - Playback log seems to be corrupted when RFT Logging API's are used

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • RFT8201 /iFix001
    OS: Win XP
    IE:6/7/8
    
    Problem description:
    
    RFT playback log is corrupt and cannot show header ?
    Error/Warning boxes'.
    
    We believe this is caused by special character such as line
    feed. We suspect the other special character, e..g tab, may
    cause the same error.
    
    The System.getProperty ( 'line.separator' ) will return the line
    feed ('\r/n' on Windows) (see below link). If you run the
    script, you will find that the header and Error/Warning boxes
    are missing the test log.
    
    http://publib.boulder.ibm.com/infocenter/rfthelp/v8r2/topic/com.
    ibm.rational.test.ft.doc/topics/PlaceholderDefault.html
    
    Expected : When a RFT logging API function is used, we expect a
    full playback log
    Actual: When RFT logging API is used, playback log seems be
    corrupted.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    We were not processing the \r\n characters while generating
    the html format and hence the corruption of the generated
    log. Proper handling of such characters resolved the issue.
    

Problem conclusion

  • Handling of the \r\n characters renders the logs
    appropriately
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM34042

  • Reported component name

    RAT FUNC TESTER

  • Reported component ID

    5724G2503

  • Reported release

    820

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-03-03

  • Closed date

    2011-05-02

  • Last modified date

    2011-05-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RAT FUNC TESTER

  • Fixed component ID

    5724G2503

Applicable component levels

  • R820 PSN

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSJMXE","label":"Rational Functional Tester"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.2","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 October 2021