In my selenium c# windows forms application, I have a scenario like uploading a doc/docx file. I have already done uploading in some another case.since it has some text box infront of browse button I uploaded using
IWebElement element = driver.FindElement(By.Id("uploadhere"));
element.SendKeys("C:\\Some_Folder\\MyFile.txt");
But here now in my present scenario, I cant use this code. My picture below shows the upload file dialog box. I googled many and couldnt find one that suits my need...I can click on browse button but cant select a file. Firebug and selenium IDE seemed not to be useful..
Can anyone help me on this? Any comments would be really appreciated..