IBM Support

PM05940: Playback link in IE7 fails in a re-recorded script against IE7

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Playback link in IE7 fails in a re-recorded script against IE7.
    Script command failure when executing the following line:
    Browser SetFrame,'Type=HTMLFrame;HTMLId=iframe',''
    ENVIRONMENT:
    Robot 7.0.2.1
    IE7
    EXPECTED RESULTS:
    Error free playback against IE7 of IE6 recorded script.
    OBTAINED RESULTS:
    Script command failure
    Fail to click a link
    The following script fails to playback on the last
    HTMLLink Click command.
    Sub Main
        Dim Result As Integer
    
        Window SetContext, 'Caption=MyWebSite - Microsoft Internet E
    xplorer', ''
        Browser NewPage,'HTMLTitle=MyWebSite;Index=0',''
        HTMLLink Click, 'HTMLText=Driver', ''
        Browser SetFrame,'Type=HTMLFrame;HTMLId=iframe',''
        Browser NewPage,'HTMLTitle=Welcome in Driver!;Index=0',''
        HTMLLink Click, 'Type=HTMLLink;HTMLText=Configuration', ''
    End Sub
    

Local fix

Problem summary

  • Playback link in IE7 fails in a re-recorded script against
    IE7.
    
    Script command failure when executing the following line:
    Browser SetFrame,"Type=HTMLFrame;HTMLId=iframe",""
    
    ENVIRONMENT:
    Robot 7.0.2.1
    IE7
    
    EXPECTED RESULTS:
    Error free playback against IE7 of IE6 recorded script.
    
    OBTAINED RESULTS:
    Script command failure
    Fail to click a link
    
    The following script fails to playback on the last
    HTMLLink Click command.
    
    
    Sub Main
        Dim Result As Integer
    
    
        Window SetContext, "Caption=MyWebSite - Microsoft
    Internet Explorer", ""
        Browser NewPage,"HTMLTitle=MyWebSite;Index=0",""
        HTMLLink Click, "HTMLText=Driver", ""
        Browser SetFrame,"Type=HTMLFrame;HTMLId=iframe",""
        Browser NewPage,"HTMLTitle=Welcome in
    Driver!;Index=0",""
        HTMLLink Click, "Type=HTMLLink;HTMLText=Configuration",
    ""
    
    End Sub
    

Problem conclusion

  • Earlier the code was getting IWebBrowser2  interface pointer
    from IE main window. Changed it to get the interface pointer
    from IE Tab window . Now it works fine . Given a testfix to
    the customer. Customer said it is working fine.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM05940

  • Reported component name

    RATIONAL ROBOT

  • Reported component ID

    5724G2400

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-01-25

  • Closed date

    2010-07-07

  • Last modified date

    2010-07-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

    RATIONAL ROBOT

  • Fixed component ID

    5724G2400

Applicable component levels

  • R701 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSHDX","label":"Rational Robot"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 July 2010