How to differentiate Coded UI and Screen reader?

53 views Asked by At

we have override the OnCreateAutomationPeer for implementing the Coded UI. The same OnCreateAutomationPeer is called for Screen reader also(ex. Narrator tool default screen reader tool from windows).

Is there any possibility to differentiate the OnCreateAutomationPeer is triggered from screen reader or Coded UI?

0

There are 0 answers