Package org.jboss.windup.testutil.html
Class TestApplicationListUtil
- java.lang.Object
-
- org.jboss.windup.testutil.html.TestReportUtil
-
- org.jboss.windup.testutil.html.TestChromeDriverReportUtil
-
- org.jboss.windup.testutil.html.TestApplicationListUtil
-
public class TestApplicationListUtil extends TestChromeDriverReportUtil
Contains methods for evaluating and retrieving data from the application list report.- Author:
- Jesse Sightler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.windup.testutil.html.TestReportUtil
TestReportUtil.WindupHtmlUnitDriver
-
-
Field Summary
-
Fields inherited from class org.jboss.windup.testutil.html.TestReportUtil
driver
-
-
Constructor Summary
Constructors Constructor Description TestApplicationListUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclickTag(String applicationName, String tagName)List<String>getApplicationNames()Returns the list of application names on the application list.List<org.openqa.selenium.WebElement>getApplicationTargetRuntimeLabels(String applicationName)org.openqa.selenium.WebElementgetApplicationTargetRuntimeLegendContent()org.openqa.selenium.WebElementgetApplicationTargetRuntimeLegendHeader()List<org.openqa.selenium.WebElement>getApplicationTechLabels(String applicationName)intgetSharedStoryPoints(String applicationName)Gets the shared story points for the given application name.intgetTotalStoryPoints(String applicationName)Gets the total story points for the given application name.intgetUniqueStoryPoints(String applicationName)Gets the unique story points for the given application name.booleanisDisplayed(String applicationName)voidreverseSortOrder()voidsortApplicationListByEffortPoints()-
Methods inherited from class org.jboss.windup.testutil.html.TestChromeDriverReportUtil
loadPage
-
Methods inherited from class org.jboss.windup.testutil.html.TestReportUtil
getDriver
-
-
-
-
Method Detail
-
getTotalStoryPoints
public int getTotalStoryPoints(String applicationName)
Gets the total story points for the given application name. This will return -1 if it could not find the story point information.
-
getSharedStoryPoints
public int getSharedStoryPoints(String applicationName)
Gets the shared story points for the given application name. This will return -1 if it could not find the story point information.
-
getUniqueStoryPoints
public int getUniqueStoryPoints(String applicationName)
Gets the unique story points for the given application name. This will return -1 if it could not find the story point information.
-
sortApplicationListByEffortPoints
public void sortApplicationListByEffortPoints()
-
reverseSortOrder
public void reverseSortOrder()
-
getApplicationNames
public List<String> getApplicationNames()
Returns the list of application names on the application list.
-
getApplicationTargetRuntimeLegendHeader
public org.openqa.selenium.WebElement getApplicationTargetRuntimeLegendHeader()
-
getApplicationTargetRuntimeLegendContent
public org.openqa.selenium.WebElement getApplicationTargetRuntimeLegendContent()
-
getApplicationTargetRuntimeLabels
public List<org.openqa.selenium.WebElement> getApplicationTargetRuntimeLabels(String applicationName)
-
getApplicationTechLabels
public List<org.openqa.selenium.WebElement> getApplicationTechLabels(String applicationName)
-
isDisplayed
public boolean isDisplayed(String applicationName)
-
-