IBM Support

PM37552: RFT8201 RFT: Manual verification point fails with Boolean value

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • PROBLEM DESCRIPTION:
    When using manual verification points with a Boolean value, RFT
    returns 'False' and the VP fails. The expected value is 'True'
    and the actual value is 'True' but it still returns 'False'.
    However, if converted to a string, RFT returns 'True' and the VP
    passes.
    
    CLIENT IMPACT:
    The client has coded their scripts to use manual VPs with
    Boolean variables returned from function calls. They need to
    have their testing done by today, April 19, 2011 so this is a
    high impact. However, they have a workaround and converted the
    manual VPs to use strings instead.
    
    IS/IS NOT:
    - This problem is seen in RFT 8.2.0.1/8.2.0.1 iFix001
    - This problem is not seen in RFT 8.1.1.3
    
    - This problem is seen when using a Boolean value
    - This problem is not seen when using a string value
    
    ENVIRONMENT:
    - RFT 8.2.0.1/8.2.0.1 iFix001
    - Windows XP and 7
    - Java Scripting
    
    REPRODUCIBILITY:
    It is reproduce this behavior in-house. I've attached my RFT
    project that contains two scripts, 'Manual_VP_Boolean' and
    'Manual_VP_String'. When you run the 'Boolean' script, you will
    see that RFT returns 'False' and that the script fails the VP.
    Click on 'See Results' and you will see that it is expecting to
    see 'True' and the actual value is 'True' however it still
    fails.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Problem : Manual verification point fails with Boolean value
    
    Solution: Returning the TestData of converted object to
    String and this is taken care in the RFT code.
    
    return VpUtil.getTestData(actual.toString());
    

Problem conclusion

  • Returning the TestData of converted object to String and
    this is taken care in the RFT code.
    
    return VpUtil.getTestData(actual.toString());
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM37552

  • 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-04-21

  • Closed date

    2011-06-29

  • Last modified date

    2011-06-29

  • 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