Highlighted
102 views

Select item on CRM with SAPDropDownMenu

I am trying to Select a item in a SAPDropDownMenu, but it is not working. 

This is the code recorded: 

Browser("SalSA").Page("PAGE").SAPFrame("Frame").SAPDropDownMenu("CRM OrderExternal Account").Select "ERP WBS Element"

This is the code with Xpath, who works for Edit fields:

Browser("SalSA").Page("PAGE").SAPFrame("Frame").SAPDropDownMenu("xpath:=//input[contains(@id,'C44_W154_V155_btacassignset_struct.ac_object_type')]").Select "ERP WBS Element"

I tryed so many different things, I am now out of ideas.

I always got the same error message:

Run Error - Step
Cannot identify the object "CRM OrderExternal Account" (of class SAPDropDownMenu).
Verify that this object's properties match an object currently displayed in your application.
Description
Cannot identify the object "CRM OrderExternal Account" (of class SAPDropDownMenu).
Verify that this object's properties match an object currently displayed in your application.

Object's physical description:
Mercury Class = SAPDropDownMenu
Html Tag = UL
DHTML Class = th-hb-ul

 

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.