IBM Support

PM43225: RFT8202 : RQM falsely logs PASS when RFT script did not run completely

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • RFT  8201 iFix and 8202
    RQM: 2.0.1 iFix003
    OS: Win XP SP3 or Win 7
    
    Problem description and steps to reproduce the problem:
    
    Create a RFT test project, an empty test script, an empty Helper
    Super Class
    Change the test script to use Helper Super class
    Run the test script directly in the RFT, works as expected
    
    Configure the same test script in the RQM web console (import
    either using a local or shared location path)
    Execute the script from RQM web console.
    Playback status in the web console is passed, as expected.
    
    +++++++++++++++++++++++++++++++++++++++
    To reproduce the actual problem reported by the customer:
    +++++++++++++++++++++++++++++++++++++++
    
    Go back to the folder where .class of the Super Helper Class is
    located
    Remove the .class file the folder
    
    Run the script from RFT, it should with Class not Found def
    error, as expected since .class was removed.
    Run the same script from RQM Web Console,
    Playback status in the web console is PASSED, which is wrong, it
    should FAIL since .class is not available anymore.
    
    Expected: Failure status in the RQM Web Console since .class is
    removed
    Actual: Passed even though the .class is not available anymore.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    RFT8202 : RQM falsely logs PASS when RFT script did not run
    completely
    

Problem conclusion

  • The problem was in the RFT itself, where we are not sending
    any events to playback log. When the expected .class was not
    found, the class not found exception was not redirected to
    the RFT playback log.
    
    Dev team have fixed by handling appropriate exception in the
    ScriptPlayback @public void run() throws
    ScriptPlaybackException - playback log get a right exception
    so RQM shows status of the playback log as FAILED as
    expected.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM43225

  • 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-07-07

  • Closed date

    2011-09-16

  • Last modified date

    2011-09-16

  • 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