IBM Support

PM98549: Multiple issues with Script find on chrome

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Multiple Issues are observed on the customer AUT when trying to
    use script find to find objects on chrome browser.
    Description:
    Below problems are observed for finding  controls in chrome
    browser ( Perferformance Improvement flag for Chrome is set to
    true):
    
    1)Cannot find the html document object.
    Sample code (Please refer to the attached project to see
    details):
    TestObject [] documents =
    getRootTestObject().find(atDescendant('.class','Html.HtmlDocumen
    t'));
    System.out.println(documents.length);
    
    The above issue is observed when FF ( not version independence)
    and/or IE is up
    
    
    
    2)Some times, when I find the test object, I got 'Rename failed'
    error. in the Console
    Sample code (Please refer to the attached project to see
    details):
    getTestObject(0.5, 12000, getRootTestObject(), '.class',
    'Html.DIV', '.text', 'DIVISIONAL SUMMARY REPORT.*');
    
    3)If I loop through the test object array, and get property
    value of each test object within the array, it is slow.
    Sample code (Please refer to the attached project to see
    details):
    TestObject [] tables = getTables();
    for(int i=0;i?tables.length;i++){
    
    if((tables[i].getProperty('.text').toString().contains('wkSunMon
    TueWedT
    huFriSat'))){
    GuiTestObject calenderTable = (GuiTestObject) tables[i];
    System.out.println('Got one');
    }
    }
    FF - about 3 sec to finish
    Chrome - about 40 secs to finish
    
    4)When I have IE browser open, I cannot highlight object, which
    was already saved into the object map.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Multiple Issues are observed  when trying to use script find
    to find objects on chrome browser.
    Description:
    Below problems are observed for finding  controls in chrome
    browser ( Perferformance Improvement flag for Chrome is set
    to true):
    
    1)Cannot find the html document object.
    Sample code
    TestObject [] documents =
    getRootTestObject().find(atDescendant(".class","Html.HtmlDoc
    ument"));
    System.out.println(documents.length);
    
    The above issue is observed when FF ( not version
    independence) and/or IE is up
    
    
    
    2)"Rename failed" error. in the Console after script
    Playback
    
    
    
    3)Cannot highlight object, which was already saved into the
    object map.
    

Problem conclusion

  • All the stated issues have been fixed .
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM98549

  • Reported component name

    RAT FUNC TESTER

  • Reported component ID

    5724G2503

  • Reported release

    830

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-07

  • Closed date

    2013-12-19

  • Last modified date

    2013-12-19

  • 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

  • R830 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.3","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
02 November 2021