IBM Support

PM53402: RFT821 : toolBar2().click(atPath('X?Y-?Z')) throws ObjectNotFoundException or UnableToPerformActionExcep

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • RFT:v8.2.1
    OS:Windows XP
    VS2005/.NET scripting ? Java Scripting
    
    Problem description:
    
    RFT is unable to find
    toolStripDropDownMenutoolBar2().click(atPath('X?Y-?Z')); and
    throw ObjectNotFound Exception and sometime
    UnableToPerformActionException. The problem appears to be when
    we have more then single atPath values
    
    Steps to reproduce:
    
    1. Unzip sample app (win_test) and add application for testing
       and make sure added application's name same to 'win_test'
    
    2. Start recording
    
    3) start app (win_test)
    
    4) Right click the column1 ? ContextMenu shown and hover cursor
    on small arrow.
    
    5) Another ContextMenu shown and hover cursor on small arrow
    again.
    
    6) Click 1st item on next ContextMenu
    
    7) Stop recording
    
    toolStripDropDownMenutoolBar().click(atPath(JP column name -? JP
    column name2 -? JP column name3));
    
    And playback result was ObjectNotFoundException window pop
    upped.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    ObjectNotFoundException was thrown due to incorrect
    testobject being created in the script during recording.
    

Problem conclusion

  • Corrected the test object to be used.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM53402

  • 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-12-02

  • Closed date

    2012-03-07

  • Last modified date

    2012-03-07

  • 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:
28 October 2021