0% found this document useful (0 votes)
19 views25 pages

EI Report Page Navigation and Validation

The document contains step definitions for automated testing of the EI Report page using SpecFlow and Selenium. It includes various methods for navigating to the page, selecting data, verifying report sections, and checking the visibility of specific elements. Assertions are used throughout to validate the expected outcomes of user interactions with the report page.

Uploaded by

en21ca501163
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views25 pages

EI Report Page Navigation and Validation

The document contains step definitions for automated testing of the EI Report page using SpecFlow and Selenium. It includes various methods for navigating to the page, selecting data, verifying report sections, and checking the visibility of specific elements. Assertions are used throughout to validate the expected outcomes of user interactions with the report page.

Uploaded by

en21ca501163
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

using Atlas;

using [Link];
using System;
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];

namespace [Link]
{
[Binding]
public sealed class EIReportSteps
{
public IWebDriver Driver;
public IList<string> TempList;
string BaseURL = DriverContext.get_BaseURL();
//define elements
public EIReportSteps()
{
Driver = [Link];

[When(@"I Navigate to EI Report Page")]


public void WhenINavigateToEIReportPage()
{
[Link]();
[Link]();
[Link]();
}

[Given(@"I Navigate to EI Report Page")]


public void GivenINavigateToEIReportPage()
{
string engNum = [Link]().ToString();
String url =
BaseURL+"/industrial/EarlyIntervention/[Link]?engageno="
+engNum;
[Link]("url:"+ url);
[Link]().GoToUrl(url);
}

[When(@"I select Data by Month")]


public void WhenISelectDataByMonth()
{
[Link]();
[Link]();
[Link]();
[Link]();
}

[When(@"I Navigate to EI tab")]


public void WhenINavigateToEITab()
{
[Link]();
}

[Then(@"I can see report tab")]


public void ThenICanNotSeeReportTab()
{
[Link]();
[Link]([Link]());
}

[Then(@"I can see EI Report as Page Heading")]


public void ThenICanSeeEIReportAsPageHeading()
{
[Link]([Link]().Contains("Early
Intervention Reporting"));
}

[Then(@"I can see Disabled checks for Cover Table of Contents, Section
(.*),Section (.*), Section (.*)")]
public void
ThenICanSeeDisabledChecksForCoverTableOfContentsSectionSectionSection(int p0, int
p1, int p2)
{
[Link]([Link]());
// [Link]();
}

[When(@"I enable all the section of EI report page")]


public void WhenIEnableAllTheSectionOfEIReportPage()
{
[Link]();
}

[Then(@"I can see Enabled checkboxes")]


public void ThenICanSeeEnabledCheckboxes()
{
[Link]([Link]());
// [Link]();
}

[Then(@"I can see ""(.*)"" section does not display")]


public void ThenICanSeeSectionDoesNotDisplay(string EIReportSection)
{

if ([Link]("Section 4: Non-work Related (NWR)


Activities"))
{
[Link]();
IList<String> EIReportSectionlist =
[Link]();
foreach (String s in EIReportSectionlist)
{
[Link](": " + s);
}
[Link]();
[Link]([Link](EIReportSection));

}
else if ([Link]("Section 5: Estimated Cost Avoidance
(NWR cases)"))
{
IList<String> EIReportSectionlist =
[Link]();
[Link]([Link](EIReportSection));
}
[Link]();
}

[Then(@"I can see ""(.*)"" section does display")]


public void ThenICanSeeSectionDoesDisplay(string EIReportSection)
{
IList<String> EIReportSectionlist =
[Link]();
foreach (String s in EIReportSectionlist)
{
[Link](s + " : " + EIReportSection);
}
[Link]();
[Link]([Link](EIReportSection));
[Link]();
}

[Given(@"I Enable Service Type as ""(.*)""")]


public void GivenIEnableServiceTypeAs(string serviceType)
{
if ([Link]("At Clinic"))
{
[Link]();
[Link]();
[Link]();
[Link]();

}
else if ([Link]("Both"))
{
[Link]();
[Link]();
[Link]();
[Link]();
}
else if ([Link]("Onsite"))
{
[Link]();
[Link]();
[Link]();
[Link]();
}
}

[Then(@"I can not see Draft section")]


public void ThenICanNotSeeDraftSection()
{
[Link]([Link]());
}
[Then(@"I can see Draft section")]
public void ThenICanSeeDraftSection()
{
[Link]([Link]());
[Link]();
}

[When(@"I select Data as (.*)")]


public void WhenISelectDataAs(string By)
{
[Link]();
if ([Link]("Month"))
{
[Link]();
[Link]();
[Link]();
[Link]();
}
else if ([Link]("Quarter"))
{
[Link]();
[Link]();
[Link]();
[Link]();
}
else if ([Link]("Year"))
{
[Link]();
[Link]();
[Link]();
[Link]();
}
else if ([Link]("Target period begins on"))
{
[Link]();
[Link]();
}
}

[Then(@"I can see data accouding to the (.*)")]


public void ThenICanSeeDataAccoudingToThe(string By)
{
[Link]();
[Link]([Link].IsSelected_M_Q_Y_DataDisplay(By));
[Link]();
}

[Then(@"I can see data for (.*) previous year")]


public void ThenICanSeeDataForPreviousYear(string By)
{
[Link]();
[Link]([Link].Is3PreviousYear());
[Link]();
}
[When(@"I select ""(.*)"" for Period")]
public void WhenISelectForPeriod(string SelectBy)
{
if ([Link]("3 Period"))
{
[Link](SelectBy);
}
}

[Then(@"I can see report title")]


public void ThenICanSeeReportTitle()
{
[Link]();
[Link]([Link]());
[Link]();
}

[Then(@"I can see report footer section")]


public void ThenICanSeeReportFooterSection()
{
[Link]([Link]());
}

[Then(@"I can see section numbers are a mirror of the number which displays
above")]
public void
ThenICanSeeSectionNumbersAreAMirrorOfTheNumberWhichDisplaysAbove()
{
IList<string> TocList = [Link]();
IList<string> SectionHeadingList =
[Link]();
for (int i = 0; i < [Link] - 1; i++)
{
[Link](TocList[i] + " : " + SectionHeadingList[i]);
// [Link](TocList[i].Contains(SectionHeadingList[i]));

}
// [Link]();

[When(@"I uncheck ""(.*)"" On EI Report page")]


public void WhenIUncheckOnEIReportPage(string CheckBy)
{
if ([Link]("PWR Cases by Top Departments"))
{
[Link]();
}
else if ([Link]("PWR Cases by Top Jobs"))
{
[Link]();
}
else if ([Link]("PWR Cases by Top Body Parts"))
{
[Link]();
}
else if ([Link]("PWR Cases by Top Injury Mechanisms"))
{
[Link]();
}
else if ([Link]("Non-work Related (NWR) Activities"))
{
[Link]();
}
else if ([Link]("NWR Cases by Top Departments"))
{
[Link]();
}
else if ([Link]("NWR Cases by Top Jobs"))
{
[Link]();
}
else if ([Link]("NWR Cases by Top Body Parts"))
{
[Link]();
}
else if ([Link]("NWR Cases by Top Injury Mechanisms"))
{
[Link]();
}
else if ([Link]("Proactive Injury Prevention Activities"))
{
[Link]();
}
else if ([Link]("Total Proactive Events by Top Departments"))
{
[Link]();
}
else if ([Link]("Total Proactive Events by Top Jobs"))
{
[Link]();
}
else if ([Link]("Total Proactive Events by Top Categories"))
{
[Link]();
}
else if ([Link]("Utilization Rates"))
{
[Link]();
}
else if ([Link]("Estimated Cost Avoidance (PWR Cases)"))
{
[Link]();
}
else if ([Link]("Estimated Cost Avoidance (NWR Cases)"))
{
[Link]();
}
else if ([Link]("Estimated Payback Ratio"))
{
[Link]();
}
else if ([Link]("Highlights/Discussion"))
{
[Link]();
}
else if ([Link]("Recommended Actions"))
{
[Link]();
}
else if([Link]("Appendix"))
{
[Link]();
}

[Link]();
}

[Then(@"I can't see ""(.*)"" graph On EI Report page")]


public void ThenICanTSeeGraphOnEIReportPage(string CheckBy)
{

[Link]();
if ([Link]("PWR Cases by Top Departments"))
{

[Link]([Link]());

else if ([Link]("PWR Cases by Injury Mechanisms"))


{

[Link]([Link]
());
}

[Then(@"I can't see ""(.*)"" in EI Report area")]


public void ThenICanTSeeInEIReportArea(string CheckBy)
{
[Link]();
if ([Link]("PWR Cases by Top Departments"))
{

[Link]([Link]());

[Link]([Link]())
;

}
else if([Link]("PWR Cases by Top Jobs"))
{

[Link]([Link]());

[Link]([Link]());
}
else if([Link]("PWR Cases by Top Body Parts"))
{

[Link]([Link]());
[Link]([Link]());
}
else if ([Link]("PWR Cases by Top Injury Mechanisms"))
{

[Link]([Link]
());

[Link]([Link]
st());

}
else if ([Link]("Non-work Related (NWR) Activities"))
{

[Link]([Link]().Contains(CheckBy));

}
else if ([Link]("NWR Totals"))
{
[Link]([Link]());
}
else if([Link]("Status: Resolved, Referred to Medical,
Resigned, Open"))
{
[Link]([Link]());
}
else if([Link]("NWR Case Resolution Trend"))
{

[Link]([Link]());
}
else if([Link]("New NWR Case Trend"))
{

[Link]([Link]());
}
else if([Link]("NWR Interaction Trend"))
{

[Link]([Link]());
}
else if([Link]("NWR Cases by Top Departments"))
{

[Link]([Link]());

[Link]([Link]())
;
}
else if([Link]("NWR Cases by Top Jobs"))
{

[Link]([Link]());

[Link]([Link]());
}
else if([Link]("NWR Cases by Top Body Parts"))
{

[Link]([Link]());

[Link]([Link]());
}
else if([Link]("NWR Cases by Top Injury Mechanisms"))
{

[Link]([Link]
());

[Link]([Link]
st());
}
else if([Link]("Proactive Injury Prevention Activities"))
{

[Link]([Link](
).Contains(CheckBy));
}
else if([Link]("Totals:"))
{
[Link]([Link]());
}
else if([Link]("Event Type"))
{
[Link]([Link]());
}
else if([Link]("Completed Proactive Event Trend"))
{

[Link]([Link](
));
}
else if([Link]("Total Proactive Events by Top Departments"))
{

[Link]([Link]
Display());

[Link]([Link]
LabelList());
}
else if([Link]("Total Proactive Events by Top Jobs"))
{

[Link]([Link]
());

[Link]([Link]
st());
}
else if([Link]("Total Proactive Events by Top Categories"))
{

[Link]([Link]
isplay());
[Link]([Link]
abelList());
}
else if([Link]("Utilization Rates"))
{

[Link]([Link]().Contains(CheckBy)
);
}
else if([Link]("Utilization"))
{

[Link]([Link]());

[Link]([Link]());
}
else if([Link]("Estimated Cost Avoidance (PWR Cases)"))
{

[Link]([Link]().Con
tains(CheckBy));
}
else if([Link]("PWR Case Risk Without Care"))
{

[Link]([Link]());

[Link]([Link]());
}
else if([Link]("Estimated Cost Avoidance (NWR Cases)"))
{

[Link]([Link]().Con
tains(CheckBy));
}
else if([Link]("NWR Case Risk Without Care"))
{

[Link]([Link]());

[Link]([Link]());
}
else if([Link]("Estimated Payback Ratio"))
{

[Link]([Link]().Contains(Che
ckBy));

[Link]([Link](
));
}
else if([Link]("Highlights/Discussion"))
{

[Link]([Link]());
}
else if([Link]("Recommended Actions"))
{
[Link]([Link]().Contains(CheckB
y));
}
else if([Link]("Appendix A: Definitions"))
{

[Link]([Link]().Contains(Chec
kBy));
}
else if([Link]("Atlas Injury Prevention Solutions Overview"))
{

[Link]([Link]
play());
}

[Then(@"I can see ""(.*)"" in EI Report area")]


//public void ThenICanSeeInEIReportArea(string p0)
public void ThenICanSeeInEIReportArea(string CheckBy)
{
[Link]();
if ([Link]("PWR Cases by Top Departments"))
{

[Link]([Link]());

[Link]([Link]().
Contains("All Cases"));

[Link]([Link]().
Contains("Interactions"));

[Link]([Link]().
Contains("Resolved"));

[Link]([Link]().
Contains("Referred for Medical"));

}
else if ([Link]("PWR Cases by Top Jobs"))
{

[Link]([Link]());

[Link]([Link]().Contain
s("All Cases"));

[Link]([Link]().Contain
s("Interactions"));

[Link]([Link]().Contain
s("Resolved"));
[Link]([Link]().Contain
s("Referred for Medical"));

}
else if ([Link]("PWR Cases by Top Body Parts"))
{

[Link]([Link]());

[Link]([Link]().Con
tains("All Cases"));

[Link]([Link]().Con
tains("Interactions"));

[Link]([Link]().Con
tains("Resolved"));

[Link]([Link]().Con
tains("Referred for Medical"));

}
else if ([Link]("PWR Cases by Top Injury Mechanisms"))
{

[Link]([Link](
));

[Link]([Link]
st().Contains("All Cases"));

[Link]([Link]
st().Contains("Interactions"));

[Link]([Link]
st().Contains("Resolved"));

[Link]([Link]
st().Contains("Referred for Medical"));

}
else if ([Link]("Non-Work Related (NWR) Activities"))
{

[Link]([Link]().Contains(CheckBy));
}
else if ([Link]("NWR Totals"))
{
[Link]([Link]());
}
else if ([Link]("Status: Resolved, Referred to Medical,
Resigned, Open"))
{
[Link]([Link]());
}
else if ([Link]("NWR Case Resolution Trend"))
{

[Link]([Link]());
}
else if ([Link]("New NWR Case Trend"))
{

[Link]([Link]());
}
else if ([Link]("NWR Interaction Trend"))
{

[Link]([Link]());
}
else if ([Link]("NWR Cases by Top Departments"))
{

[Link]([Link]());

[Link]([Link]().
Contains("All Cases"));

[Link]([Link]().
Contains("Interactions"));

[Link]([Link]().
Contains("Resolved"));

[Link]([Link]().
Contains("Referred for Medical"));

}
else if ([Link]("NWR Cases by Top Jobs"))
{

[Link]([Link]());

[Link]([Link]().Contain
s("All Cases"));

[Link]([Link]().Contain
s("Interactions"));

[Link]([Link]().Contain
s("Resolved"));

[Link]([Link]().Contain
s("Referred for Medical"));

}
else if ([Link]("NWR Cases by Top Body Parts"))
{

[Link]([Link]());

[Link]([Link]().Co
ntains("All Cases"));

[Link]([Link]().Co
ntains("Interactions"));

[Link]([Link]().Co
ntains("Resolved"));

[Link]([Link]().Co
ntains("Referred for Medical"));

}
else if ([Link]("NWR Cases by Top Injury Mechanisms"))
{

[Link]([Link](
));

[Link]([Link]
st().Contains("All Cases"));

[Link]([Link]
st().Contains("Interactions"));

[Link]([Link]
st().Contains("Resolved"));

[Link]([Link]
st().Contains("Referred for Medical"));

}
else if ([Link]("Proactive Injury Prevention Activities"))
{

[Link]([Link]()
.Contains(CheckBy));
}
else if ([Link]("Totals"))
{
[Link]([Link]());
}
else if ([Link]("Event Type"))
{
[Link]([Link]());
}
else if ([Link]("Completed Proactive Event Trend"))
{

[Link]([Link]()
);
}
else if ([Link]("Total Proactive Events by Top Departments"))
{
// [Link]();
[Link]();
//
[Link]([Link]
isplay());

[Link]([Link]
LabelList().Contains("Completed Events"));

[Link]([Link]
LabelList().Contains("Interactions"));

}
else if ([Link]("Total Proactive Events by Top Jobs"))
{
[Link]();
//
[Link]([Link](
));

[Link]([Link]
st().Contains("Completed Events"));

[Link]([Link]
st().Contains("Interactions"));

}
else if ([Link]("Total Proactive Events by Top Categories"))
{
[Link]();
//
[Link]([Link]
splay());

[Link]([Link]
abelList().Contains("Completed Events"));

[Link]([Link]
abelList().Contains("Interactions"));

}
else if ([Link]("Utilization Rates"))
{

[Link]([Link]().Contains(CheckBy))
;
}
else if ([Link]("Utilization"))
{
[Link]();

[Link]([Link]());

[Link]([Link]().Contains("Tot
al Events"));
[Link]([Link]().Contains("Int
eractions"));

[Link]([Link]().Contains("Atl
as Hours Worked"));

[Link]([Link]().Contains("Int
eractions per hour"));

}
else if ([Link]("Estimated Cost Avoidance (PWR Cases)"))
{
[Link]();

[Link]([Link]());
}
else if ([Link]("PWR Case Risk Without Care"))
{

[Link]();

[Link]([Link]());

[Link]([Link]().Co
ntains("Time Frame"));

[Link]([Link]().Co
ntains("PWR Cases Resolved"));

[Link]([Link]().Co
ntains("Average Cost of WC Claim"));

[Link]([Link]().Co
ntains("RWC Categories"));

[Link]([Link]().Co
ntains("Estimated Cost Avoidance"));

[Link]([Link]().Co
ntains("High (Cost x 1.00)"));

[Link]([Link]().Co
ntains("Medium (Cost x 0.50)"));

[Link]([Link]().Co
ntains("Low (Cost x 0.25)"));

}
else if ([Link]("Estimated Cost Avoidance (NWR Cases)"))
{

[Link]([Link]());
}
else if ([Link]("NWR Case Risk Without Care"))
{
[Link]([Link]());

[Link]([Link]().Co
ntains("Time Frame"));

[Link]([Link]().Co
ntains("NWR Cases Resolved"));

[Link]([Link]().Co
ntains("Average Cost of Claim"));

[Link]([Link]().Co
ntains("RWC Categories"));

[Link]([Link]().Co
ntains("Estimated Cost Avoidance"));

[Link]([Link]().Co
ntains("High (Cost x 1.00)"));

[Link]([Link]().Co
ntains("Medium (Cost x 0.50)"));

[Link]([Link]().Co
ntains("Low (Cost x 0.25)"));

}
else if ([Link]("Estimated Payback Ratio"))
{

[Link]([Link]().Contains(Chec
kBy));

[Link]([Link](
).Contains("Time Frame"));

[Link]([Link](
).Contains("PWR Cases Resolved"));

[Link]([Link](
).Contains("NWR Cases Resolved"));

[Link]([Link](
).Contains("Total Estimated Cost Avoidance"));

[Link]([Link](
).Contains("Atlas Program Costs"));

[Link]([Link](
).Contains("Estimated Payback Ratio"));

}
else if ([Link]("Highlights/Discussion"))
{

[Link]([Link]());
}
else if ([Link]("Recommended Actions"))
{

[Link]([Link]().Contains(CheckBy
));
}
else if ([Link]("Appendix A: Definitions"))
{

[Link]([Link]().Contains(Check
By));
}
else if ([Link]("Atlas Injury Prevention Solutions Overview"))
{

[Link]([Link]
lay());
}

[When(@"I Check ""(.*)"" On EI Report page")]


public void WhenICheckOnEIReportPage(string CheckBy)
{
[Link]();
if ([Link]("PWR Cases by Top Departments"))
{
[Link]();
}
else if ([Link]("PWR Cases by Top Jobs"))
{
[Link]();
}
else if ([Link]("PWR Cases by Top Body Parts"))
{
[Link]();
}
else if ([Link]("PWR Cases by Top Injury Mechanisms"))
{
[Link]();
}
else if ([Link]("Non-work Related (NWR) Activities"))
{
[Link]();
}
else if ([Link]("NWR Cases by Top Departments"))
{
[Link]();
}
else if ([Link]("NWR Cases by Top Jobs"))
{
[Link]();
}
else if ([Link]("NWR Cases by Top Body Parts"))
{
[Link]();
}
else if ([Link]("NWR Cases by Top Injury Mechanisms"))
{
[Link]();
}
else if ([Link]("Proactive Injury Prevention Activities"))
{
[Link]();
}
else if ([Link]("Total Proactive Events by Top Departments"))
{
[Link]();
}
else if ([Link]("Total Proactive Events by Top Jobs"))
{
[Link]();
}
else if ([Link]("Total Proactive Events by Top Categories"))
{
[Link]();
}
else if ([Link]("Utilization Rates"))
{
[Link]();
}
else if ([Link]("Estimated Cost Avoidance (PWR Cases)"))
{
[Link]();
}
else if ([Link]("Estimated Cost Avoidance (NWR Cases)"))
{
[Link]();
}
else if ([Link]("Estimated Payback Ratio"))
{
[Link]();
}
else if([Link]("Highlights/Discussion"))
{
[Link]();
}
else if([Link]("Recommended Actions"))
{
[Link]();
}
else if([Link]("Appendix"))
{
[Link]();
}

[Link]();

[Then(@"I can see ""(.*)"" graph On EI Report page")]


public void ThenICanSeeGraphOnEIReportPage(string p0)
{
[Link]();
//
[Link]([Link]());
// [Link]();
}

[When(@"I uncheck NWR ""(.*)"" On EI Report page")]


public void WhenIUncheckNWROnEIReportPage(string CheckBy)
{
if ([Link]("NWR Cases by Top Departments"))
{
[Link]();
}
else if ([Link]("NWR Cases by Top Jobs"))
{
[Link]();
[Link]();
}
else if ([Link]("NWR Cases by Top Body Parts"))
{
[Link]();
[Link]();
}
else if ([Link]("NWR Cases by Top Injury Mechanisms"))
{
[Link]();
[Link]();
}
else if ([Link]("Proactive Injury Prevention Activities"))
{
[Link]();
}

[Link]();
}

[Then(@"I can't see NWR ""(.*)"" graph On EI Report page")]


public void ThenICanTSeeNWRGraphOnEIReportPage(string CheckBy)
{
[Link]();
if ([Link]("NWR Cases by Top Departments"))
{

[Link]([Link]());
}
else if ([Link]("NWR Cases by Top Jobs"))
{

[Link]([Link]());
}
else if ([Link]("NWR Cases by Top Body Parts"))
{

[Link]([Link]());
}
else if ([Link]("NWR Cases by Top Injury Mechanisms"))
{

[Link]([Link]
());
}
else if ([Link]("Proactive Injury Prevention Activities"))
{

[Link]([Link]
isplay());
}
[Link]();
}

[Then(@"I can't see Following NWR Sections")]


public void ThenICanTSeeFollowingNWRSections(Table table)
{
try
{
IList<String> IncludedSectionList =
[Link]();
var actualValues = [Link](row => row["Value"]).ToList();
[Link](() => {

foreach (var actualValue in actualValues)


{
[Link]([Link](actualValue));
}

});
}
catch (Exception ex)
{
[Link](ex);
}
}

[Then(@"I can see Following NWR Sections")]


public void ThenICanSeeFollowingNWRSections(Table table)
{
try
{
IList<String> IncludedSectionList =
[Link]();
var actualValues = [Link](row => row["Value"]).ToList();
[Link](() => {

foreach (var actualValue in actualValues)


{
[Link]([Link](actualValue));
}

});
}
catch (Exception ex)
{
[Link](ex);
}
}

[Then(@"I can't see Following NWR table Sections")]


public void ThenICanTSeeFollowingNWRTableSections(Table table)
{
try
{
IList<String> IncludedSectionList =
[Link]();
var actualValues = [Link](row => row["Value"]).ToList();
[Link](() => {

foreach (var actualValue in actualValues)


{
[Link]([Link](actualValue));
}

});
}
catch (Exception ex)
{
[Link](ex);
}
}

[Then(@"I can see Following NWR table Sections")]


public void ThenICanSeeFollowingNWRTableSections(Table table)
{
try
{
IList<String> IncludedSectionList =
[Link]();
var actualValues = [Link](row => row["Value"]).ToList();
[Link](() => {

foreach (var actualValue in actualValues)


{
[Link]([Link](actualValue));
}

});
}
catch (Exception ex)
{
[Link](ex);
}
}

[Then(@"I can't see Estimated Payback Ratio for NWR Resolved Cases")]
public void ThenICanTSeeEstimatedPaybackRatioForNWRResolvedCases()
{

[Link]([Link]
());
}

[Then(@"I can see Estimated Payback Ratio for NWR Resolved Cases")]
public void ThenICanSeeEstimatedPaybackRatioForNWRResolvedCases()
{

[Link]([Link](
));
}
[Given(@"I disable the NWR configuration from DB")]
public void GivenIDisableTheNWRConfigurationFromDB()
{
String engNum = [Link]().ToString();
[Link](engNum, false);
}

[When(@"I enable the NWR configuration from DB")]


public void WhenIEnableTheNWRConfigurationFromDB()
{
String engNum = [Link]().ToString();
[Link](engNum, true);
}

[When(@"I reload the EI report page")]


public void WhenIReloadTheEIReportPage()
{
[Link]().Refresh();
[Link]();
}

[Then(@"I can't see ""(.*)"" and ""(.*)"" in table content")]


public void ThenICanTSeeAndInTableContent(String sec1, String sec2, String
sec3)
{
try
{
IList<String> IncludedSectionList =
[Link]();
[Link](() => {
[Link]([Link](sec1));
[Link]([Link](sec2));
[Link]([Link](sec3));
});
}
catch (Exception ex)
{
[Link](ex);
}
}

[Then(@"Section heading as required")]


public void ThenSectionHeadingAsRequired()
{
try
{
IList<String> IncludedSectionListFromPage =
[Link]();
IList<String> SectionHeadingsBuilder =
[Link]();
foreach (String heading in IncludedSectionListFromPage)
{
[Link]([Link](heading));
}

}
catch (Exception ex)
{
[Link](ex);
}
}

[When(@"I disable all the section of EI report page")]


public void WhenIDisableAllTheSectionOfEIReportPage()
{
[Link]();
}

[Then(@"I can see check boxes is unchecked")]


public void ThenICanSeeCheckBoxesIsUnchecked()
{

[Link]([Link]());

[Link]([Link]());

[Link]([Link]());

[Link]([Link]()
);

[Link]([Link]());

[Link]([Link]());

[Link]([Link]());

[Link]([Link]());

[Link]([Link]()
);

[Link]([Link]
splay());

[Link]([Link]
isplay());

[Link]([Link](
));

[Link]([Link]
splay());

[Link]([Link]());
[Link]([Link]
());

[Link]([Link]());

[Link]([Link]());

[Link]([Link]());
[Link]([Link]());

[Then(@"I can't see Section heading as well in Report")]


public void ThenICanTSeeSectionHeadingAsRequired()
{
try
{
IList<String> IncludedSectionListFromPage =
[Link]();
IList<String> SectionHeadingsBuilder =
[Link]();
foreach (String heading in IncludedSectionListFromPage)
{
[Link]([Link](heading));
}

}
catch (Exception ex)
{
[Link](ex);
}
}

}
}

You might also like