コード例 #1
0
        public void PopulateGeneralTabInLiborOptionInitialDrawdownWindow(Table generalTabTable)
        {
            var liborOptionWindow = Container.GetInstance <WindowFactory <DrawdownLiborOptionInitialWindow> >().Context;

            Click.On(liborOptionWindow.GeneralTabItem);
            Enter.TextInto(liborOptionWindow.GeneralTab.EffectiveDateTextBox, generalTabTable.FindValue("Effective Date"));
            Enter.TextInto(liborOptionWindow.GeneralTab.MaturityDateTextBox, generalTabTable.FindValue("Maturity Date"));
            Enter.TextInto(liborOptionWindow.GeneralTab.AmountsRequestedTextBox, generalTabTable.FindValue("Amounts Requested"));
            Enter.TextInto(liborOptionWindow.GeneralTab.RepricingDateTextBox, generalTabTable.FindValue("Repricing Date"));
            Select.ByAndWait(liborOptionWindow.GeneralTab.RepricingFrequencyComboBox, generalTabTable.FindValue("Repricing Frequency"),
                             liborOptionWindow.GeneralTab.IntCycleFrequencyComboBox, generalTabTable.FindValue("Int Cycle Frequency"));
            Click.On(liborOptionWindow.RatesTabItem);
            Click.On(liborOptionWindow.RatesTab.BaseRateButton);
            var warningWindow = Container.GetInstance <WindowFactory <WarningWindow> >().Context;

            Click.On(warningWindow.YesButton);
        }