public class ServiceUIUtils extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.openqa.selenium.WebDriver |
driver |
Constructor and Description |
---|
ServiceUIUtils(org.junit.rules.TestName name,
String className) |
Modifier and Type | Method and Description |
---|---|
static String |
catalogFilterServiceCategoriesChecBox(ServiceCategoriesNameEnum enumName) |
static List<String> |
catalogServiceTypeChecBox(ServiceCategoriesNameEnum enumtype) |
static org.openqa.selenium.WebElement |
clickAddArtifact() |
static void |
createService(ServiceReqDetails service,
User user) |
static void |
defineContactId(String userId) |
static String |
defineDescription(String description) |
static org.openqa.selenium.support.ui.Select |
defineServiceCategory(String category) |
static String |
defineServiceName(String Name) |
static void |
defineServiceProjectCode(String projectCode) |
static void |
defineTagsList(ServiceReqDetails service,
String[] serviceTags) |
static org.openqa.selenium.WebElement |
deleteServiceInUI() |
static void |
fillServiceGeneralPage(ServiceReqDetails service,
User user) |
static org.openqa.selenium.WebElement |
getArtifactDetails() |
static org.openqa.selenium.WebElement |
getArtifactName() |
static void |
getServiceGeneralInfo(ServiceReqDetails service,
User user) |
void |
moveResourceInstanceToCanvasUI() |
static void |
selectRandomResourceIcon() |
static org.openqa.selenium.WebElement |
waitToFinishButtonEnabled() |
static org.openqa.selenium.WebElement |
waitToNextButtonEnabled() |
public ServiceUIUtils(org.junit.rules.TestName name, String className)
public void moveResourceInstanceToCanvasUI() throws Exception
Exception
public static String catalogFilterServiceCategoriesChecBox(ServiceCategoriesNameEnum enumName) throws Exception
Exception
public static List<String> catalogServiceTypeChecBox(ServiceCategoriesNameEnum enumtype) throws Exception
Exception
public static org.openqa.selenium.WebElement waitToNextButtonEnabled()
public static org.openqa.selenium.WebElement waitToFinishButtonEnabled()
public static org.openqa.selenium.WebElement deleteServiceInUI()
public static void getServiceGeneralInfo(ServiceReqDetails service, User user) throws InterruptedException
InterruptedException
public static void defineTagsList(ServiceReqDetails service, String[] serviceTags)
public static org.openqa.selenium.support.ui.Select defineServiceCategory(String category)
public static void defineServiceProjectCode(String projectCode)
public static void selectRandomResourceIcon() throws Exception
Exception
public static void defineContactId(String userId)
public static org.openqa.selenium.WebElement clickAddArtifact()
public static org.openqa.selenium.WebElement getArtifactName()
public static org.openqa.selenium.WebElement getArtifactDetails()
public static void fillServiceGeneralPage(ServiceReqDetails service, User user) throws Exception
Exception
public static void createService(ServiceReqDetails service, User user) throws Exception, AWTException
Exception
AWTException
Copyright © 2017. All rights reserved.