Posted: 7 Oct 2019 8:52 EDT Last activity: 7 Oct 2019 13:25 EDT
File Upload On a Web application
I want to upload a file on a website. I have attached the screenshot of the file upload option as well as the automation, but I'm not able to upload the file. When I perform click on the select file option, the automation stops.
Can anyone help me with this.
***Edited by Moderator: Lochan to update platform capability tags***
I believe that the PerformClick method on that button is synchronous, meaning it won't return until the window it launches is closed. I would use a Parallel Process to click the button on one thread and handle and close the window on another. You can use the bottom link out of the Parallel Process to continue after you have finished with that window.