Why does the ctrlid
format detected by UiPath Studio differs from the documented format in their XSLT representation?
Currently I am working with UiPath to automate a few workflows.
Environment Details:
SAP Client: IDES ECC 6.0 incl. EhP7
Host machine: Intel Core i3 CPU with 64 bit - Windows 8 system.
While trying to identify an element in SAPTreeList
/ SAP's Advanced Treelist
it seems UiPath detects the ctrlid
in the following formats:
<wnd ctrlid='74372104' />
<wnd ctrlid='59648' idx='1' />
<wnd ctrlid='59648' />
<wnd ctrlid='74937216' />
<wnd ctrlid='100' title='SAP's Advanced Treelist' />
Snapshot:
The documentation of CtrlId in msdn.microsoft.com mentions:
The value of the CtrlId attribute MUST range from 1 through 255 characters, MUST begin with an alphabetic character, and MUST contain only alphanumeric and underscore characters.
The following W3C XML Schema (XMLSCHEMA1) fragment specifies the contents of this element.
<xsd:element name="CtrlId" type="xsd:string"/>
So the ctrlid format detected by UiPath Studio seems to be different from the documented format and specification.
Am I missing something here?
As per the Execution.log in this question:
Error {"message":"Click Text 'SAPTreeList': Cannot find the UI element corresponding to this selector: <wnd ctrlid='90279688' /><wnd ctrlid='100' title='SAP's Advanced Treelist' />","level":"Error","logType":"Default","timeStamp":"2019-02-06T13:16:44.295729+05:30","fingerprint":"bec67d2a-14d1-4b93-ac06-03156aea69fe","windowsIdentity":"AtechM-03\\AtechM_03","machineName":"ATECHM-03","processName":"LearningUiPath","processVersion":"1.0.0.0","jobId":"e7f88d9e-e485-4eee-8a54-7450771238f3","robotName":"ATECHM_03","machineId":0,"fileName":"Main"}
The error details also contains the following fields:
level
logType
timeStamp
fingerprint
windowsIdentity
machineName
processName
processVersion
jobId
robotName
machineId
fileName
So my question are:
- Does the
ctrlid
of an element have any dependency on any of these parameters? - Is
ctrlid
of an element unique to each system? - Is
ctrlid
dynamic within the samejobId
?