public string ButtonEntry_EmulateClickAndGetMessage()
        {
            Async async = new Async();

            ButtonEntry.EmulateClick(async);
            var msgBox = new NativeMessageBox(Window.WaitForNextModal());
            var msg    = msgBox.Message;

            msgBox.EmulateButtonClick("OK");
            async.WaitForCompletion();
            return(msg);
        }
 public void ButtonEntry_EmulateClickAndClose()
 {
     ButtonEntry.EmulateClick();
     Async.WaitForCompletion();
 }