public void Test_PwInput() { string strValue = ""; ModalFormHandler = InputBox_btnAccept_StrHandler; GKInputBox.QueryPassword("caption", "prompt", ref strValue); Assert.AreEqual("input", strValue); }
public bool GetPassword(string prompt, ref string value) { bool res = GKInputBox.QueryPassword(GKData.APP_TITLE, prompt, ref value); return(res && !string.IsNullOrEmpty(value)); }