Example #1
0
        public void Test_PwInput()
        {
            string strValue = "";

            ModalFormHandler = InputBox_btnAccept_StrHandler;
            GKInputBox.QueryPassword("caption", "prompt", ref strValue);

            Assert.AreEqual("input", strValue);
        }
Example #2
0
        public bool GetPassword(string prompt, ref string value)
        {
            bool res = GKInputBox.QueryPassword(GKData.APP_TITLE, prompt, ref value);

            return(res && !string.IsNullOrEmpty(value));
        }