I would like to set the FindStrategy globally so that whenever I do a Find on any of its children, I don't have to set the Strategy on this child to WhenNotVisibleReturnNull.
Even though I set the strategy to this on the application itself, if I'm calling Find on a control within the application, it reverts back to the default which I believe is WhenNotVisibleThrowException.
Which brings me to my next question: Why, oh why is that the default? Not knowing there was a FindStrategy caused me hours of painful googling. According to the documentation, the Find methods return null when the element doesn't exist. So WhenNotVisibleReturnNull I believe should be the default.
Many Thanks!
Even though I set the strategy to this on the application itself, if I'm calling Find on a control within the application, it reverts back to the default which I believe is WhenNotVisibleThrowException.
Which brings me to my next question: Why, oh why is that the default? Not knowing there was a FindStrategy caused me hours of painful googling. According to the documentation, the Find methods return null when the element doesn't exist. So WhenNotVisibleReturnNull I believe should be the default.
Many Thanks!