Handle start Process security alert

I just came across this issue as well. I took a tip from this thread. Run the bot in debug mode, pause when it opens the application, then use UiExplorer to find the element.

After doing that, I found the following to be the selector information:

<wnd app='uipath.executor.exe' cls='#32770' title='Open File - Security Warning' />
<wnd ctrlid='4426' title='&amp;Run' />

What I ended up doing is running the application and a click activity in parallel. The click has a DelayBefore of 200 (anything faster and it wouldn’t work properly) and I set the ClickType to CLICK_DOUBLE. The double click is so it brings the window into focus and then clicks the button.