I have made a application. In it's UI I have a button when I click on it an open file dialog box opens up I have made this dialog box using the OpenFileDialog(). There is a open button inside this dialog box. I want to automate the UI TESTING of my application for which I need it to click on the open button but winappdriver is not able to locate and click on this button. I tried to locate it using automationid xpath name classname but nothing worked.
What I have tried:
I have tried to find the open button using classname xpath automation id but nothing worked..