Пример #1
0
        void RunDefaultPropertiesTests()
        {
            TestChangePassword w = new TestChangePassword();

            Assert.AreEqual(0, w.Attributes.Count, "Attributes.Count");
            Assert.AreEqual(0, w.StateBag.Count, "ViewState.Count");
            Assert.AreEqual(string.Empty, w.CancelButtonImageUrl, "CancelButtonImageUrl");
            Assert.AreEqual("Cancel", w.CancelButtonText, "CancelButtonText");
            Assert.AreEqual(ButtonType.Button, w.CancelButtonType, "CancelButtonType");
            Assert.AreEqual(string.Empty, w.CancelDestinationPageUrl, "CancelDestinationPageUrl");
            Assert.AreEqual(string.Empty, w.ChangePasswordButtonImageUrl, "ChangePasswordButtonImageUrl");
            Assert.AreEqual("Change Password", w.ChangePasswordButtonText, "ChangePasswordButtonText");
            Assert.AreEqual(ButtonType.Button, w.ChangePasswordButtonType, "ChangePasswordButtonType");
            Assert.AreEqual("Change Your Password", w.ChangePasswordTitleText, "ChangePasswordTitleText");
            Assert.AreEqual(string.Empty, w.ConfirmNewPassword, "CompleteSuccessText");
            Assert.AreEqual(string.Empty, w.HelpPageIconUrl, "HelpPageIconUrl");
            Assert.AreEqual(string.Empty, w.HelpPageText, "HelpPageText");
            Assert.AreEqual(string.Empty, w.HelpPageUrl, "HelpPageUrl");
            Assert.AreEqual(string.Empty, w.CreateUserIconUrl, "CreateUserIconUrl");
            Assert.AreEqual(string.Empty, w.CreateUserText, "CreateUserText");
            Assert.AreEqual(string.Empty, w.CreateUserUrl, "CreateUserUrl");
            Assert.AreEqual(string.Empty, w.EditProfileIconUrl, "EditProfileIconUrl");
            Assert.AreEqual(string.Empty, w.EditProfileText, "EditProfileText");
            Assert.AreEqual(string.Empty, w.EditProfileUrl, "EditProfileUrl");
            Assert.AreEqual(string.Empty, w.PasswordRecoveryIconUrl, "PasswordRecoveryIconUrl");
            Assert.AreEqual(string.Empty, w.PasswordRecoveryText, "PasswordRecoveryText");
            Assert.AreEqual(string.Empty, w.PasswordRecoveryUrl, "PasswordRecoveryUrl");
            Assert.AreEqual("Confirm New Password:"******"ConfirmNewPasswordLabelText");
            Assert.AreEqual("The Confirm New Password must match the New Password entry.", w.ConfirmPasswordCompareErrorMessage, "ConfirmPasswordCompareErrorMessage");
            Assert.AreEqual("Confirm New Password is required.", w.ConfirmPasswordRequiredErrorMessage, "ConfirmPasswordRequiredErrorMessage");
            Assert.AreEqual(string.Empty, w.ContinueButtonImageUrl, "ContinueButtonImageUrl");
            Assert.AreEqual("Continue", w.ContinueButtonText, "ContinueButtonText");
            Assert.AreEqual(ButtonType.Button, w.ContinueButtonType, "ContinueButtonType");
            Assert.AreEqual(string.Empty, w.ContinueDestinationPageUrl, "ContinueDestinationPageUrl");
            Assert.AreEqual(false, w.DisplayUserName, "DisplayUserName");
            Assert.AreEqual(string.Empty, w.InstructionText, "InstructionText");
            Assert.AreEqual("New Password:"******"NewPasswordLabelText");
            Assert.AreEqual(string.Empty, w.PasswordHintText, "PasswordHintText");
            Assert.AreEqual("Password:"******"PasswordLabelText");
            Assert.AreEqual(string.Empty, w.SuccessPageUrl, "SuccessPageUrl");
            Assert.AreEqual("Your password has been changed!", w.SuccessText, "SuccessText");
            Assert.AreEqual("Change Password Complete", w.SuccessTitleText, "SuccessTitleText");
            Assert.AreEqual("User Name:", w.UserNameLabelText, "UserNameLabelText");
        }
Пример #2
0
        public void AssignToDefaultProperties()
        {
            TestChangePassword w = new TestChangePassword();

            Assert.AreEqual(0, w.Attributes.Count, "Attributes.Count");
            Assert.AreEqual(0, w.StateBag.Count, "ViewState.Count");

            int count = 0;

            w.CancelButtonImageUrl = "text";
            Assert.AreEqual("text", w.CancelButtonImageUrl, "Assign CancelButtonImageUrl,");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate CancelButtonImageUrl,");

            w.CancelButtonText = "text";
            Assert.AreEqual("text", w.CancelButtonText, "Assign CancelButtonText");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate CancelButtonText");

            w.CancelDestinationPageUrl = "text";
            Assert.AreEqual("text", w.CancelDestinationPageUrl, "Assign CancelDestinationPageUrl");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate CancelDestinationPageUrl");

            w.ChangePasswordButtonImageUrl = "text";
            Assert.AreEqual("text", w.ChangePasswordButtonImageUrl, "Assign ChangePasswordButtonImageUrl");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate ChangePasswordButtonImageUrl");

            w.HelpPageText = "text";
            Assert.AreEqual("text", w.HelpPageText, "Assign HelpPageText");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate HelpPageText");

            w.ChangePasswordButtonText = "text";
            Assert.AreEqual("text", w.ChangePasswordButtonText, "Assign ChangePasswordButtonText");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate ChangePasswordButtonText");

            w.ChangePasswordFailureText = "text";
            Assert.AreEqual("text", w.ChangePasswordFailureText, "Assign ChangePasswordFailureText");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate ChangePasswordFailureText");

            w.ChangePasswordTitleText = "msg";
            Assert.AreEqual("msg", w.ChangePasswordTitleText, "Assign ChangePasswordTitleText");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate ChangePasswordTitleText");

            w.ConfirmNewPasswordLabelText = "msg";
            Assert.AreEqual("msg", w.ConfirmNewPasswordLabelText, "Assign ConfirmNewPasswordLabelText");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate ConfirmNewPasswordLabelText");

            w.ContinueButtonImageUrl = "msg";
            Assert.AreEqual("msg", w.ContinueButtonImageUrl, "Assign ContinueButtonImageUrl");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate ContinueButtonImageUrl");

            w.ContinueButtonText = "msg";
            Assert.AreEqual("msg", w.ContinueButtonText, "Assign ContinueButtonText");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate ContinueButtonText");

            w.ContinueDestinationPageUrl = "msg";
            Assert.AreEqual("msg", w.ContinueDestinationPageUrl, "Assign ContinueDestinationPageUrl");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate ContinueDestinationPageUrl");

            w.CreateUserIconUrl = "msg";
            Assert.AreEqual("msg", w.CreateUserIconUrl, "Assign CreateUserIconUrl");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate CreateUserIconUrl");

            w.CreateUserText = "msg";
            Assert.AreEqual("msg", w.CreateUserText, "Assign CreateUserText");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate CreateUserText");

            w.CreateUserUrl = "msg";
            Assert.AreEqual("msg", w.CreateUserUrl, "Assign CreateUserUrl");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate CreateUserUrl");

            w.DisplayUserName = true;
            Assert.AreEqual(true, w.DisplayUserName, "Assign DisplayUserName");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate DisplayUserName");

            w.EditProfileIconUrl = "msg";
            Assert.AreEqual("msg", w.EditProfileIconUrl, "Assign EditProfileIconUrl");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate EditProfileIconUrl");

            w.EditProfileText = "msg";
            Assert.AreEqual("msg", w.EditProfileText, "Assign EditProfileText");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate EditProfileText");

            w.HelpPageIconUrl = "msg";
            Assert.AreEqual("msg", w.HelpPageIconUrl, "Assign HelpPageIconUrl");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate HelpPageIconUrl");

            w.HelpPageUrl = "msg";
            Assert.AreEqual("msg", w.HelpPageUrl, "Assign HelpPageUrl");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate HelpPageUrl");

            w.InstructionText = "msg";
            Assert.AreEqual("msg", w.InstructionText, "Assign InstructionText");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate InstructionText");

            w.MembershipProvider = "msg";
            Assert.AreEqual("msg", w.MembershipProvider, "Assign MembershipProvider");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate MembershipProvider");

            w.NewPasswordLabelText = "msg";
            Assert.AreEqual("msg", w.NewPasswordLabelText, "Assign NewPasswordLabelText");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate NewPasswordLabelText");

            w.PasswordHintText = "msg";
            Assert.AreEqual("msg", w.PasswordHintText, "Assign PasswordHintText");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate PasswordHintText");

            w.PasswordLabelText = "msg";
            Assert.AreEqual("msg", w.PasswordLabelText, "Assign PasswordLabelText");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate PasswordLabelText");

            w.PasswordRecoveryIconUrl = "msg";
            Assert.AreEqual("msg", w.PasswordRecoveryIconUrl, "Assign PasswordRecoveryIconUrl");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate PasswordRecoveryIconUrl");

            w.PasswordRecoveryText = "msg";
            Assert.AreEqual("msg", w.PasswordRecoveryText, "Assign PasswordRecoveryText");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate PasswordRecoveryText");

            w.PasswordRecoveryUrl = "msg";
            Assert.AreEqual("msg", w.PasswordRecoveryUrl, "Assign PasswordRecoveryUrl");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate PasswordRecoveryUrl");

            w.PasswordRequiredErrorMessage = "msg";
            Assert.AreEqual("msg", w.PasswordRequiredErrorMessage, "Assign PasswordRequiredErrorMessage");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate PasswordRequiredErrorMessage");

            w.SuccessPageUrl = "msg";
            Assert.AreEqual("msg", w.SuccessPageUrl, "Assign SuccessPageUrl");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate SuccessPageUrl");

            w.SuccessText = "msg";
            Assert.AreEqual("msg", w.SuccessText, "Assign SuccessText");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate SuccessText");

            w.SuccessTitleText = "msg";
            Assert.AreEqual("msg", w.SuccessTitleText, "Assign SuccessTitleText");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate SuccessTitleText");

            w.UserNameLabelText = "msg";
            Assert.AreEqual("msg", w.UserNameLabelText, "Assign UserNameLabelText");
            Assert.AreEqual(++count, w.StateBag.Count, "Viewstate UserNameLabelText");
        }
		public void AssignToDefaultProperties ()
		{
			TestChangePassword w = new TestChangePassword ();
			Assert.AreEqual (0, w.Attributes.Count, "Attributes.Count");
			Assert.AreEqual (0, w.StateBag.Count, "ViewState.Count");

			int count = 0;

			w.CancelButtonImageUrl = "text";
			Assert.AreEqual ("text", w.CancelButtonImageUrl, "Assign CancelButtonImageUrl,");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate CancelButtonImageUrl,");

			w.CancelButtonText = "text";
			Assert.AreEqual ("text", w.CancelButtonText, "Assign CancelButtonText");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate CancelButtonText");

			w.CancelDestinationPageUrl = "text";
			Assert.AreEqual ("text", w.CancelDestinationPageUrl, "Assign CancelDestinationPageUrl");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate CancelDestinationPageUrl");

			w.ChangePasswordButtonImageUrl = "text";
			Assert.AreEqual ("text", w.ChangePasswordButtonImageUrl, "Assign ChangePasswordButtonImageUrl");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate ChangePasswordButtonImageUrl");

			w.HelpPageText = "text";
			Assert.AreEqual ("text", w.HelpPageText, "Assign HelpPageText");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate HelpPageText");

			w.ChangePasswordButtonText = "text";
			Assert.AreEqual ("text", w.ChangePasswordButtonText, "Assign ChangePasswordButtonText");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate ChangePasswordButtonText");

			w.ChangePasswordFailureText = "text";
			Assert.AreEqual ("text", w.ChangePasswordFailureText, "Assign ChangePasswordFailureText");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate ChangePasswordFailureText");

			w.ChangePasswordTitleText = "msg";
			Assert.AreEqual ("msg", w.ChangePasswordTitleText, "Assign ChangePasswordTitleText");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate ChangePasswordTitleText");

			w.ConfirmNewPasswordLabelText = "msg";
			Assert.AreEqual ("msg", w.ConfirmNewPasswordLabelText, "Assign ConfirmNewPasswordLabelText");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate ConfirmNewPasswordLabelText");

			w.ContinueButtonImageUrl = "msg";
			Assert.AreEqual ("msg", w.ContinueButtonImageUrl, "Assign ContinueButtonImageUrl");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate ContinueButtonImageUrl");

			w.ContinueButtonText = "msg";
			Assert.AreEqual ("msg", w.ContinueButtonText, "Assign ContinueButtonText");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate ContinueButtonText");

			w.ContinueDestinationPageUrl = "msg";
			Assert.AreEqual ("msg", w.ContinueDestinationPageUrl, "Assign ContinueDestinationPageUrl");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate ContinueDestinationPageUrl");

			w.CreateUserIconUrl = "msg";
			Assert.AreEqual ("msg", w.CreateUserIconUrl, "Assign CreateUserIconUrl");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate CreateUserIconUrl");

			w.CreateUserText = "msg";
			Assert.AreEqual ("msg", w.CreateUserText, "Assign CreateUserText");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate CreateUserText");

			w.CreateUserUrl = "msg";
			Assert.AreEqual ("msg", w.CreateUserUrl, "Assign CreateUserUrl");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate CreateUserUrl");

			w.DisplayUserName = true;
			Assert.AreEqual (true, w.DisplayUserName, "Assign DisplayUserName");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate DisplayUserName");

			w.EditProfileIconUrl = "msg";
			Assert.AreEqual ("msg", w.EditProfileIconUrl, "Assign EditProfileIconUrl");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate EditProfileIconUrl");

			w.EditProfileText = "msg";
			Assert.AreEqual ("msg", w.EditProfileText, "Assign EditProfileText");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate EditProfileText");

			w.HelpPageIconUrl = "msg";
			Assert.AreEqual ("msg", w.HelpPageIconUrl, "Assign HelpPageIconUrl");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate HelpPageIconUrl");

			w.HelpPageUrl = "msg";
			Assert.AreEqual ("msg", w.HelpPageUrl, "Assign HelpPageUrl");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate HelpPageUrl");

			w.InstructionText = "msg";
			Assert.AreEqual ("msg", w.InstructionText, "Assign InstructionText");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate InstructionText");

			w.MembershipProvider = "msg";
			Assert.AreEqual ("msg", w.MembershipProvider, "Assign MembershipProvider");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate MembershipProvider");

			w.NewPasswordLabelText = "msg";
			Assert.AreEqual ("msg", w.NewPasswordLabelText, "Assign NewPasswordLabelText");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate NewPasswordLabelText");

			w.PasswordHintText = "msg";
			Assert.AreEqual ("msg", w.PasswordHintText, "Assign PasswordHintText");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate PasswordHintText");

			w.PasswordLabelText = "msg";
			Assert.AreEqual ("msg", w.PasswordLabelText, "Assign PasswordLabelText");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate PasswordLabelText");

			w.PasswordRecoveryIconUrl = "msg";
			Assert.AreEqual ("msg", w.PasswordRecoveryIconUrl, "Assign PasswordRecoveryIconUrl");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate PasswordRecoveryIconUrl");

			w.PasswordRecoveryText = "msg";
			Assert.AreEqual ("msg", w.PasswordRecoveryText, "Assign PasswordRecoveryText");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate PasswordRecoveryText");

			w.PasswordRecoveryUrl = "msg";
			Assert.AreEqual ("msg", w.PasswordRecoveryUrl, "Assign PasswordRecoveryUrl");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate PasswordRecoveryUrl");

			w.PasswordRequiredErrorMessage = "msg";
			Assert.AreEqual ("msg", w.PasswordRequiredErrorMessage, "Assign PasswordRequiredErrorMessage");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate PasswordRequiredErrorMessage");

			w.SuccessPageUrl = "msg";
			Assert.AreEqual ("msg", w.SuccessPageUrl, "Assign SuccessPageUrl");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate SuccessPageUrl");

			w.SuccessText = "msg";
			Assert.AreEqual ("msg", w.SuccessText, "Assign SuccessText");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate SuccessText");

			w.SuccessTitleText = "msg";
			Assert.AreEqual ("msg", w.SuccessTitleText, "Assign SuccessTitleText");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate SuccessTitleText");

			w.UserNameLabelText = "msg";
			Assert.AreEqual ("msg", w.UserNameLabelText, "Assign UserNameLabelText");
			Assert.AreEqual (++count, w.StateBag.Count, "Viewstate UserNameLabelText");
		}
		public void DefaultProperties ()
		{
			TestChangePassword w = new TestChangePassword ();
			Assert.AreEqual (0, w.Attributes.Count, "Attributes.Count");
			Assert.AreEqual (0, w.StateBag.Count, "ViewState.Count");
			Assert.AreEqual (string.Empty, w.CancelButtonImageUrl, "CancelButtonImageUrl");
			Assert.AreEqual ("Cancel", w.CancelButtonText, "CancelButtonText");
			Assert.AreEqual (ButtonType.Button, w.CancelButtonType, "CancelButtonType");
			Assert.AreEqual (string.Empty, w.CancelDestinationPageUrl, "CancelDestinationPageUrl");
			Assert.AreEqual (string.Empty, w.ChangePasswordButtonImageUrl, "ChangePasswordButtonImageUrl");
			Assert.AreEqual ("Change Password", w.ChangePasswordButtonText, "ChangePasswordButtonText");
			Assert.AreEqual (ButtonType.Button, w.ChangePasswordButtonType, "ChangePasswordButtonType");
			Assert.AreEqual ("Change Your Password", w.ChangePasswordTitleText, "ChangePasswordTitleText");
			Assert.AreEqual (string.Empty, w.ConfirmNewPassword, "CompleteSuccessText");
			Assert.AreEqual (string.Empty, w.HelpPageIconUrl, "HelpPageIconUrl");
			Assert.AreEqual (string.Empty, w.HelpPageText, "HelpPageText");
			Assert.AreEqual (string.Empty, w.HelpPageUrl, "HelpPageUrl");
			Assert.AreEqual (string.Empty, w.CreateUserIconUrl, "CreateUserIconUrl");
			Assert.AreEqual (string.Empty, w.CreateUserText, "CreateUserText");
			Assert.AreEqual (string.Empty, w.CreateUserUrl, "CreateUserUrl");
			Assert.AreEqual (string.Empty, w.EditProfileIconUrl, "EditProfileIconUrl");
			Assert.AreEqual (string.Empty, w.EditProfileText, "EditProfileText");
			Assert.AreEqual (string.Empty, w.EditProfileUrl, "EditProfileUrl");
			Assert.AreEqual (string.Empty, w.PasswordRecoveryIconUrl, "PasswordRecoveryIconUrl");
			Assert.AreEqual (string.Empty, w.PasswordRecoveryText, "PasswordRecoveryText");
			Assert.AreEqual (string.Empty, w.PasswordRecoveryUrl, "PasswordRecoveryUrl");
			Assert.AreEqual ("Confirm New Password:"******"ConfirmNewPasswordLabelText");
			Assert.AreEqual ("The Confirm New Password must match the New Password entry.", w.ConfirmPasswordCompareErrorMessage, "ConfirmPasswordCompareErrorMessage");
			Assert.AreEqual (String.Empty, w.ConfirmPasswordRequiredErrorMessage, "ConfirmPasswordRequiredErrorMessage");
			Assert.AreEqual (string.Empty, w.ContinueButtonImageUrl, "ContinueButtonImageUrl");
			Assert.AreEqual ("Continue", w.ContinueButtonText, "ContinueButtonText");
			Assert.AreEqual (ButtonType.Button, w.ContinueButtonType, "ContinueButtonType");
			Assert.AreEqual (string.Empty, w.ContinueDestinationPageUrl, "ContinueDestinationPageUrl");
			Assert.AreEqual (false, w.DisplayUserName, "DisplayUserName");
			Assert.AreEqual (string.Empty, w.InstructionText, "InstructionText");
			Assert.AreEqual ("New Password:"******"NewPasswordLabelText");
			Assert.AreEqual (string.Empty, w.PasswordHintText, "PasswordHintText");
			Assert.AreEqual ("Password:"******"PasswordLabelText");
			Assert.AreEqual (string.Empty, w.SuccessPageUrl, "SuccessPageUrl");
			Assert.AreEqual ("Your password has been changed!", w.SuccessText, "SuccessText");
			Assert.AreEqual ("Change Password Complete", w.SuccessTitleText, "SuccessTitleText");
			Assert.AreEqual ("User Name:", w.UserNameLabelText, "UserNameLabelText");
		}