I have encountered a situation where I need to click on a button in order to upload a file.
I test this using Selenium C# by:
1. Entering the file path into the box
string script = “__doPostBack(‘uploadFileButton’,”)”;