I need to navigate to a website and download an excel file on regular basis. So i am planning to automate it. I am trying to do this using powershell using wasp plugin. I need to click on open button in the file download box. I have written the code like
select-window iexplore|select-childwindow|select-control -Title "&open"|send-clickOpen button highlights up but it does not click and so i am not able to download the file. I have also tried with send-keys <kbd>Enter</kbd> button even that does not seem to work.
Please let me know what is wrong with the above code.