示例#1
0
        public bool EnterPwd(String password)
        {
            FrameWork.SetTextBoxValue(passwd, password);
            String resultText = FrameWork.GetText(passwd);

            StatusOutput("resultText:" + resultText.ToString());
            if (resultText.Equals(password) == true)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
示例#2
0
        public bool EnterEmail(String emailAddress)
        {
            FrameWork.SetTextBoxValue(email, emailAddress);
            String resultText = FrameWork.GetText(email);

            StatusOutput("resultText:" + resultText.ToString());
            if (resultText.Equals(emailAddress) == true)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }