Hi Christian,
The "
UIA Process Id" attribute notes the Process Id assigned by your OS to the currently running instance of your application.
This can be seen in Task Manager on the 'Details' tab under the 'Pid' column:
This Id is randomly assigned to the process running your application each time it is started, so we would not recommend using this attribute for matching your element in most cases.
As a test if you spy an element using UI mode then make a note of the 'UIA Process Id', then close/reopen the application and re-spy the element, you will see that this attribute has already changed.
------------------------------
James Roberts
------------------------------