Quantcast
Channel: Windows Desktop Development for Accessibility and Automation forum
Viewing all articles
Browse latest Browse all 585

AutomationId is not guaranteed to be stable across different builds?

$
0
0

From the MSDN document (about AutomationId, it states that

"Clients should make no assumptions regarding the AutomationId values exposed by other applications. AutomationId is not guaranteed to be stable across different releases or builds of an application.".  

I think I understand the first part - we cannot assume that the same value of AutomationId is not being used by other application.  However, I'm more concern about the second part.  I need an AutomationId which is unique and remains the same for different builds or releasesconsistently so that we can use it as the primary ID in our automation test. Can anyone explain to me a bit detail what does it mean?  Can I assume that the AutomationId will not be changed during build?

Thank you!

Richard

MSDN reference: http://msdn.microsoft.com/en-us/library/windows/desktop/ee684083.aspx


Viewing all articles
Browse latest Browse all 585


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>