c# - How to detect AutomationElement name change -


i using ui automation in c# program. have managed acquire element using automation id. however, exposes no patterns. using ui spy, can see text want under identification->name. however, when try register event detect change of text, nothing happens; event handler not called.

ui spy doesn't show controlpatterns. mean must manually poll changes element's "name" or there way this?

you'll have implement kind of event yourself, manually polling name property, or rather continuously calling findfirst old name, until returns no result.


Comments

Popular posts from this blog

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -