public void CheckWarningAllert(string AlertName, string AlertType, string AlertClass, string DrugClass)
        {
            UserCodeCollection_OR CodeCollection = new UserCodeCollection_OR();
            string WarningText = CodeCollection.WarningAlertMessage(AlertName, AlertType, AlertClass, DrugClass);

            // validate Warning box displays when added Drug is in patient's allergy list
            repo.WarningMessage = WarningText;
            Validate.Exists(repo.AddWardMedication.AllergyWarningMessageInfo);
        }
        /// <summary>
        /// Performs the playback of actions in this module.
        /// </summary>
        /// <remarks>You should not call this method directly, instead pass the module
        /// instance to the <see cref="TestModuleRunner.Run(ITestModule)"/> method
        /// that will in turn invoke this method.</remarks>
        void ITestModule.Run()
        {
            Mouse.DefaultMoveTime        = 300;
            Keyboard.DefaultKeyPressTime = 100;
            Delay.SpeedFactor            = 1.0;

            UserCodeCollection_OR CodeCollection = new UserCodeCollection_OR();
            string WarningText = CodeCollection.WarningAlertMessage(AlertName, AlertType, AlertClass, DrugClass);

            // validate Warning box displays when added Drug is in patient's allergy list
            MyRepo.WarningMessage = WarningText;
            Validate.Exists(MyRepo.AddPainPrescription.WarningMessageTextBoxInfo);
        }