public void PaymentDescriptionTextBox()
        {
            string randomString = GenericHelper.RandomString(6);

            PropertiesFile.Properties.PaymentDescription = randomString;
            if (ScenarioContext.Current.ScenarioInfo.Title == "TC7-Adding Adhoc Payment Instruction")
            {
                ExcelOperation.AddData("TestData3", randomString, "TC7_AddingAdhocPaymentInstruction");
            }
            else
            {
                ExcelOperation.AddData("TestData3", randomString, "TC8_AddingRegularPaymentInstruction");
            }
            PaymentDescription.SendKeys(randomString);
        }
Ejemplo n.º 2
0
 public PaymentHistoryTestBuilder WithDescription(PaymentDescription description)
 {
     _paymentHistory.Description = description;
     return(this);
 }