IBM Support

PI22715: RFT FAILS TO FIND HTML.INPUT.TEXT WITH 2 PROPERTIES ON CHROME WITH PERFORMANCE FLAG SET TO TRUE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Description from customer:
    
    The standard method we use on this site for find (included in
    the code) uses 2 properties to find an object.
    
    On the login page provided, when using 2 properties the find
    returns nothing. The 2 class types on this page that it fails on
    are:
    ".class","Html.INPUT.text"
    ".class","Html.INPUT.image"
    
    A code snippit from the script is:
      // Enter Username
         //((TextGuiTestObject) this.findTestObject(0.2, 30000,
    getRootTestObject(),".class","Html.INPUT.text",".name","username
    ")).setText(dpUsername);
         ((TextGuiTestObject) this.findTestObject(0.2, 30000,
    getRootTestObject(),".name","username")).setText(dpUsername);
    
         // Enter Password
         //((TextGuiTestObject) this.findTestObject(0.2, 30000,
    getRootTestObject(),".class","Html.INPUT.password",".name","pass
    word")).setText(dpPassword);
         ((TextGuiTestObject) this.findTestObject(0.2, 30000,
    getRootTestObject(),".name","password")).setText(dpPassword);
    
         // Click Submit button
         //this.findTestObject(0.2, 30000,
    getRootTestObject(),".class","Html.INPUT.image",".value","submit
    ").click();
         this.findTestObject(0.2, 30000,
    getRootTestObject(),".value","submit").click();
    
    the commented out code is the original code that returns no
    objects found. I'm working my way through one sequence of
    scripts and this seems to happen for a number of object types.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Testers using find API to find controls of type INPUT.Text   *
    * and INPUT.password with .class and .name property            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Testers using find API to find controls of type INPUT.Text   *
    * and INPUT.password with .class and .name property were       *
    * unable to find controls                                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The issue is fixed in RFT 8601 and now the find API will return
    the correct result for INPUT.Text and INPUT.password
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI22715

  • Reported component name

    RAT FUNC TESTER

  • Reported component ID

    5724G2503

  • Reported release

    851

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-07-25

  • Closed date

    2014-10-20

  • Last modified date

    2014-10-20

  • 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

  • R860 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSJMXE","label":"Rational Functional Tester"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021