コード例 #1
0
 public ConvertMetricsForNuclearScienceSteps()
 {
     this.homePage =
         UnityContainerFactory.GetContainer().Resolve <HomePage>();
     this.kilowattHoursPage =
         UnityContainerFactory.GetContainer().Resolve <KilowattHoursPage>();
 }
コード例 #2
0
 public ConvertMetricsForNuclearScienceSteps()
 {
     this.homePage =
         HandlingParameters.Base.UnityContainerFactory.GetContainer().Resolve <HomePage>();
     this.kilowattHoursPage =
         HandlingParameters.Base.UnityContainerFactory.GetContainer().Resolve <KilowattHoursPage>();
     this.secondsToMinutesPage =
         HandlingParameters.Base.UnityContainerFactory.GetContainer().Resolve <SecondsToMinutesPage>();
 }
コード例 #3
0
 public ConvertMetricsForNuclearScienceSteps()
 {
     _homePage =
         Base.UnityContainerFactory.GetContainer().Resolve <HomePage>();
     _kilowattHoursPage =
         Base.UnityContainerFactory.GetContainer().Resolve <KilowattHoursPage>();
     _secondsToMinutesPage =
         Base.UnityContainerFactory.GetContainer().Resolve <SecondsToMinutesPage>();
 }
コード例 #4
0
ファイル: EnergySteps.cs プロジェクト: apiradeemaii/SpecFlow
 public void WhenChooseConversionsToNewton_Meters()
 {
     _kilowattHoursPage = new KilowattHoursPage(Driver.Browser);
     _kilowattHoursPage.KilowatHoursToNewtonMetersAnchor.Click();
 }
 public ConvertMetricsForNuclearScienceSteps()
 {
     _homePage             = new HomePage(Driver.Browser);
     _kilowattHoursPage    = new KilowattHoursPage(Driver.Browser);
     _secondsToMinutesPage = new SecondsToMinutesPage(Driver.Browser);
 }