IBM Support

PM37458: RFT8201 : Object Inspector Showing .enabled Property Incorrectly

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environments
    -RFT 8.2 and 8.2.0.1 iFix001 on Windows XP
    
    Description:
    
    -When using the Test Object Inspector in the 'Show Test Object
    Value Properties' mode, the '.enabled' property is always equal
    to true, even if the object is not enabled
    To
    duplicate:??????????????????????????????????????????????????????
    ????????????????????????????????????????????????????????????????
    ?????????
    
    1. Open any Notepad
    Window.???????????????????????????????????????????
    2. Open RFT, and open any simple test
    script.?????????????????????????
    3. Launch the RFT Object
    Inspector???????????????????????????????????
    4. Click the 'Show Test Object Value Properties'?
    5. On Notepad select 'Edit' from the menu to expose the Edit
    context?
    menu.???????????????????????????????????????????????????????????
    ??????
    
    6. Hover over any disabled menuitem and PAUSE the Object
    Inspector with
    LEFT-SHIFT.?????????????????????????????????????????????????????
    ??????
    
    7. Note the disabled menuitem properties list shows
    '.enabled=true'???
    
    -Also while reproducing the customer issue, I noticed that if
    you switch to a different view in the Test Object Inspector, the
    properties in the 'Show Test Object Value Properties' will
    change
    -To
    duplicate:??????????????????????????????????????????????????????
    ????????????????????????????????????????????????????????????????
    ?????????
    
    1. Open any Notepad
    Window.???????????????????????????????????????????
    2. Open RFT, and open any simple test
    script.?????????????????????????
    3. Launch the RFT Object
    Inspector???????????????????????????????????
    4. Click the 'Show Test Object Value Properties'?
    5. On Notepad select 'Edit' from the menu to expose the Edit
    context?
    menu.???????????????????????????????????????????????????????????
    ??????
    
    6. Hover over any enabled menuitem and PAUSE the Object
    Inspector with
    LEFT-SHIFT.?????????????????????????????????????????????????????
    ??????
    
    7. Note the enabled menuitem properties list shows
    '.enabled=true'
    8. Switch to the 'Show Parent Hierarchy' view then back to the
    'Show Test Object Value Properties' view
    9. Note the enabled menuitem now shows '.enabled=false'
    
    Expected: When it is disabled the status should be false
    Actual : It is showing true but after moving to 'Show Parent
    Hierarchy' view then back to the 'Show Test Object Value
    Properties' view show 'True'
    
    Even through programming shows incorrect status of the state.
    You can use the following code:
    applicationmenuBar().click(atPath('Edit'));
    System.out.println(cutCtrlXmenuItem().getProperty('.enabled'));
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Object Inspector were showing  .enabled Property Incorrectly
    for Menu Items
    

Problem conclusion

  • Code changes done to get the correct value of property
    .enabled in Menu Items.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM37458

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

  • 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