Selectors of same element differs in UIexplorer and indicate element

Scenario: While indicating an element through UI explorer it shows some different selector and through indicate element it shows a different selector

Steps to reproduce:

Current Behavior:

Expected Behavior: It should show the same selector both through UIexplorer and through indicate element

Studio/Robot/Orchestrator Version:2018.2.3

Last stable behavior:
Last stable version:
OS Version: Win 7 enterprize
Others if Relevant: (workflow, logs, .net version, service pack, etc):

Hi,

Can you provide more information, which element you are trying to indicate and can you post selectors from both UIExplorer and Indicate element.

Hi Anil,

I am trying to click a cell of a table in SAP . Indicate element via click activity gives a different selector ( which is not working) and uiexplorer gives a different selector (which is working).

The selectors are-

  1. UI explorer - sap id=‘usr/tblSAPMP50ATC_MENU_EVENT/ctxt[1,0]’
  2. Indicate element - sap id=‘usr/tblSAPMP50ATC_MENU_EVENT’ tableCol=‘1’ tableRow=‘0’

Hi,

In UI Explorer and in Indicate element sap id is same.

in UI explorer : Ctxt[1,0] - Represent tablecolumn and tablerow with specific values.
Indicate element : tablecol=‘1’ tableRow=‘0’.

So overall the both with be almost same, but with UI explorer you can make your selector most stable.

Hi,
Try with the second one which you got from ui
explorer it should work.