SendKeys to a windows file dialog
<p>I want to send the string <code>ABC</code> to the input field of a windows file dialog. With this code line I can set the focus to the correct element. I see a blinken cursor.</p>

<pre><code>var filedialogOverlay = drv.SwitchTo().ActiveElement();
</code></pre>

<p>But the following code doesn't write the string into the element.</p>

<pre><code>Thread.Sleep(1000);
filedialogOverlay.SendKeys("ABC");
</code></pre>

<p>EDIT:
The file upload prompt is shown by a website which I want to test. Because of black box testing I can't see the source code. Is there a tool to analyse the GUI?</p>

<p>When I right click the input element I get the following choices.</p>

<p><a href="https://i.stack.imgur.com/zOakj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zOakj.png" alt="enter image description here"></a></p>