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 - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -