The workaround is to add manually the content presenter and perform a click against it, this will set the focus to the dialog. To press Enter button use this coded step: Manager.Desktop.KeyBoard.KeyPress(Keys.Enter, 200, 1); To press Cancel button: Manager.Desktop.KeyBoard.KeyPress(Keys.Tab, 200, 1); Manager.Desktop.KeyBoard.KeyPress(Keys.Enter, 200, 1); Ensure you Add an Assembly Reference to System.Windows.Forms.