How to deal with browser window
Hello guys,
I automate exes that uses a lot of theses windows. Theses ones don't allow an Edit field in which I can put a unc path. No, theses windows needs the use of mouse to select the appropriate folder.
Usually, my tests fail when I try to browse the right folder.
I do the following :
- I do a "SetFocus"
- I press "Home"
- And I do successively as much "ClickItem" as I need to open child folder bu child folder until I select the right one.
Anyone has a better idea ? How do you deal with such browser dialog ?
Thank you
You can find the Folders/files using Adding DirectUIHWND class in MSAA, Text Recognition and UI Automation in Project properties.
Once you done the above, you will be able to click the item using this.
Below may help you