Example #1
0
        /// <summary>
        /// Clicks the Add Adjustment tab if we are not already there, clicks the Add Adjustment link, chooses an Adjustment Code from
        /// the select element, enters an effective date (this overload is for the reinstated, per program, pra program, voluntary program,
        /// international program, main program and resident program program adjustments). Then clicks the Add Adjustment buttons
        /// </summary>
        /// <param name="browser">The driver instance</param>
        /// <param name="siteName">The exact text of the site inside sites table that you want to click on</param>
        /// <param name="participantFirstAndLastName">The exact text of the participant inside participants table that you want to click on</param>
        /// <param name="adjustmentCode">The exact text of the adjustment code that you want to chooose in the Adjustment Code select element</param>
        /// <param name="effectiveDate"></param>
        public void RCP_AddProgramAdjustment(IWebDriver browser, string participantFirstAndLastName, LSConstants.AdjustmentCodes adjustmentCode, string effectiveDate)
        {
            ProgramPage PP = new ProgramPage(browser);

            PP.AddProgramAdjustment(adjustmentCode, effectiveDate);
        }
Example #2
0
        /// <summary>
        /// Clicks the Add Adjustment tab if we are not already there, clicks the Add Adjustment link, chooses an Adjustment Code
        /// from the select element, enters a start and end date, selects a leave code (this overload is for the Leave program adjustment).
        /// Then clicks the Add Adjustment button
        /// </summary>
        /// <param name="browser">The driver instance</param>
        /// <param name="siteName">The exact text of the site inside sites table that you want to click on</param>
        /// <param name="participantFirstAndLastName">The exact text of the participant inside participants table that you want to click on</param>
        /// <param name="adjustmentCode">The exact text of the adjustment code that you want to chooose in the Adjustment Code select element</param>
        /// <param name="leaveStartDate"></param>
        /// <param name="leaveEndDate"></param>
        /// <param name="leaveCode"></param>
        public void RCP_AddProgramAdjustment(IWebDriver browser, string participantFirstAndLastName, LSConstants.AdjustmentCodes adjustmentCode, string leaveStartDate, string leaveEndDate, string leaveCode)
        {
            ProgramPage PP = new ProgramPage(browser);

            PP.AddProgramAdjustment(adjustmentCode, leaveStartDate, leaveEndDate, leaveCode);
        }