SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Junior Member
    Join Date
    Jan 2011
    Posts
    26
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Unable to identify MenuItems of SAPNavigationBar

    We are trying to automate SAP CRM 7.0 application. When recording a scenario QTP generating script for all actions like selecting a option from SAPMenu etc. But while playing back, QTP throws error that the object is not recognized. After researching we found that no entries created for that menu in OR. The only entries we found for it's parent object SAPNavigationbar. With Object Spy also QTP not recognizing that particular menu option.

    Ex: Browser("SAP CRM - [Account Management]").Page("SAP CRM - [Account Management]").SAPFrame("SAP CRM - [Account Management]").SAPNavigationBar("SAPNavigationBar"). Select "Account Management;Contacts"

    Here entries created for SAPNavigationbar but not for AccountManagement;Contacts which is a menu.

    Will DP work here? Or is there any other solution to make it work?

  2. #2
    Moderator
    Join Date
    Oct 2010
    Location
    Norway
    Posts
    3,265
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Unable to identify MenuItems of SAPNavigationBar

    Only the SAPNavigationBar is learnt and the rest goes as path. And you can change the menu path, based on the selection you want to make.
    Rajkumar

  3. #3
    Junior Member
    Join Date
    Jan 2011
    Posts
    26
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Unable to identify MenuItems of SAPNavigationBar

    Thanks Rajkumar

    Could you please throw more light on this like in the example given how to select the specified menu?

    Ex: Browser("SAP CRM - [Account Management]").Page("SAP CRM - [Account Management]").SAPFrame("SAP CRM - [Account Management]").SAPNavigationBar("SAPNavigationBar"). Select "Account Management;Contacts"

  4. #4
    Moderator
    Join Date
    Oct 2010
    Location
    Norway
    Posts
    3,265
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Unable to identify MenuItems of SAPNavigationBar

    Do you have an issue in selecting the menu option "Contacts" ?
    Rajkumar

  5. #5
    Junior Member
    Join Date
    Jan 2011
    Posts
    26
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Unable to identify MenuItems of SAPNavigationBar

    No it does not even identify Account Management. And also we need to scroll the navigation bar to go to various links and it does not identify the clicks on the scroll arrows.

  6. #6
    Moderator
    Join Date
    Oct 2010
    Location
    Norway
    Posts
    3,265
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Unable to identify MenuItems of SAPNavigationBar

    Look at the section "Troubleshooting and Limitations - Web-based SAP Support" in SAP Addins guide.

    I guess that the issue might be with this object SAPFrame("SAP CRM - [Account Management]").

    Try to highlight the SAPFrame("SAP CRM - [Account Management]") object & the SAPNavigationBar("SAPNavigationBar") object to check if the test object's properties are correct. Else you may need to configure it differently.
    Rajkumar

  7. #7
    Junior Member
    Join Date
    Jan 2011
    Posts
    26
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Unable to identify MenuItems of SAPNavigationBar

    Thanks Rajkumar for all the effort....

    The SAPNavigationBar is considered as a single object and I'm unable to go into the links inside it. The links are not identified as objects. During Object SPY whichever link I click it always displays the Navigation Bar object.

  8. #8
    Moderator
    Join Date
    Oct 2010
    Location
    Norway
    Posts
    3,265
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Unable to identify MenuItems of SAPNavigationBar

    Try this.

    Browser("SAP CRM - [Account Management]").Page("SAP CRM - [Account Management]").SAPFrame("SAP CRM - [Account Management]").SAPNavigationBar("SAPNavigationBar").Show

    And then this.
    Browser("SAP CRM - [Account Management]").Page("SAP CRM - [Account Management]").SAPFrame("SAP CRM - [Account Management]").SAPNavigationBar.Expand "Account Management;Contacts"

    (Or this)
    Browser("SAP CRM - [Account Management]").Page("SAP CRM - [Account Management]").SAPFrame("SAP CRM - [Account Management]").SAPNavigationBar("SAPNavigationBar"). Select "Account Management;Contacts"
    Rajkumar

  9. #9
    Moderator
    Join Date
    Oct 2010
    Location
    Norway
    Posts
    3,265
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Unable to identify MenuItems of SAPNavigationBar

    You could also try with the index.

    Browser("SAP CRM - [Account Management]").Page("SAP CRM - [Account Management]").SAPFrame("SAP CRM - [Account Management]").SAPNavigationBar("SAPNavigationBar").Show

    Browser("SAP CRM - [Account Management]").Page("SAP CRM - [Account Management]").SAPFrame("SAP CRM - [Account Management]").SAPNavigationBar("SAPNavigationBar"). Select "#1;#1"


    The Links will not be learned and that goes in as the selection path. Atleast one of above two should work [img]/images/graemlins/wink.gif[/img]
    Rajkumar

  10. #10
    Junior Member
    Join Date
    Jan 2011
    Posts
    26
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Unable to identify MenuItems of SAPNavigationBar

    Hi Rajkumar, still no luck
    Its not throwing error while using the statements
    SAPNavigationBar("SAPNavigationBar").Show
    SAPNavigationBar("SAPNavigationBar").Expand "Account Management;Contacts"

    But, its not clicking on the links either.

    Tried with using Index as well.But, still unable to click on the menu items.

 

 
Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 06:02 AM.

Copyright BetaSoft Inc.