on 08-31-2018 4:18 PM
I'm new to this... Using Enable Now to capture a Process in SAP. The System Settings button is showing with a blank Object Path. I know it SHOULD look like the code below, where the <Position x="441" y="40" cx="22" cy="22"/> and the <Path type="SAP" path="/app/con[0]/ses[0]/wnd[0]/tbar[0]/btn[81]" sub_path="" point to the object.
I am manually adding this code to the Object Path. The position coordinates are captured and are easily added to the line. I discovered that every button that DOES have a path contains a number in the btn[0] part of the line.
EXAMPLE: In the attached image you can see that "Previous Page" button is 81.
How can I find out what all the button numbers are so I can manually add this code to my missing Object Path?
RecognitionTemplate name="SAPGUIStandard::GuiButton" Weight="0.980000" Comment="" type="self">
<Patterns>
<Pattern type="path" name="GuiButton" Weight="1.000000" method="SAP">
<Path type="SAP" path="/app/con[0]/ses[0]/wnd[0]/tbar[0]/btn[81]" sub_path="" object_type="GuiButton" object_name="">
<Position x="441" y="40" cx="22" cy="22"/>
<RootIndex index="-1"/>
<RootName name=""/>
</Path>
</Pattern>
</Patterns>
<Properties>
<Property type="textchecker" name="fname_checker" text_ref="GuiButton.FieldName" proc_ref="GuiButton.Processor">
<LangId value="All">
<Entry src="@0V@" dst="Ok"/>
</LangId>
<LangId value="DE">
<Entry src="@0V@" dst="Übernehmen"/>
</LangId>
<LangId value="EN">
<Entry src="@0V@" dst="Apply"/>
</LangId>
</Property>
</Properties>
<InfoTemplates>
<InfoTemplate>
<type value="button"/>
<FieldName reference="fname_checker.text"/>
<Tooltip reference="GuiButton.Tooltip"/>
<Position x="0" y="0" cx="0" cy="0" reference="GuiButton.rect"/>
</InfoTemplate>
</InfoTemplates>
</RecognitionTemplate>
Hi Mario,
This IDs are coming from SAP GUI, so you can find them somewhere deep, deep inside of it. What actually can help is to create a support ticket for KM-WPB component with .dkp file of your recording attached. Our devs are working closely with SAP GUI team, so they could provide you with a long-term working solution, instead of providing manually UI elements IDs.
KR, Anton
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
3 | |
3 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.