Protractor Running exe with child_process
<p>i'm trying to simulate an upload file with protractor 
i know that the protractor can't interact with OS window 
and i created an EXE file (<strong>with autoit</strong>),  that takes focus and insert a file .
when i'm testing manually everything working ok . 
when i try to write it in protractor i get error </p>

<p><strong>this is my protractor code ( using child_process  )</strong>  -- see pic</p>

<p><a href="https://i.stack.imgur.com/Cmqzs.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cmqzs.jpg" alt="Code"></a></p>

<p>Here is my error massage </p>

<p><a href="https://i.stack.imgur.com/6uYZA.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6uYZA.jpg" alt="error"></a></p>

<p>tried using : NO LUCK!!
<a href="https://i.stack.imgur.com/nPNPN.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nPNPN.jpg" alt="upload metod2"></a></p>