Class Collaboration
java.lang.Object
com.onenetwork.platform.tools.test.ui.components.Component
com.onenetwork.platform.tools.test.ui.components.Container
com.onenetwork.platform.tools.test.ui.components.Collaboration
public class Collaboration extends Container
Represents Selenium component for Workbench Collaboration
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
collaborationName
org.openqa.selenium.WebElement
parentFrameEl
-
Constructor Summary
Constructors Constructor Description Collaboration(UIContext context, org.openqa.selenium.WebElement collaborationEl)
-
Method Summary
Modifier and Type Method Description void
clickEdit()
Clicks on "Edit" button.void
clickSave()
Clicks on "Edit" button.void
enterText(java.lang.String text)
It will add text to collaboration content.java.lang.String
getCollaborationContent()
java.lang.String
getCollaborationName()
org.openqa.selenium.WebElement
getParentFrameEl()
protected void
setCollaborationName(java.lang.String collaborationName)
void
setParentFrameEl(org.openqa.selenium.WebElement parentFrameEl)
void
share()
Clicks on "Share" button of collaboration.void
switchDriver()
This is solely used to support its subclass,Frame
.Methods inherited from class com.onenetwork.platform.tools.test.ui.components.Container
clickAction, clickAction, clickMenuItem, clickOneLogo, createFieldFromLabel, findXTypeFromInput, getActions, getActions, getButton, getCC1InnerTab, getComponent, getDashboard, getFieldByLabel, getFieldByLabelCC15, getFieldByLabelFlux, getFieldByLabelNew, getFieldByMultiLineLabel, getFieldByName, getFieldError, getFilterOverlayPanel, getFormPanel, getGrid, getGridByClass, getGrids, getLink, getMenu, getMessagePanel, getMessagePanelFlux, getNotificationCollaboration, getProbelmDetail, getProblemList, getReadOnlyFieldByLabelCC15, getReport, getReports, getSearchContext, getSearchPageContext, getTabPanel, getTabPanelByClass, getTemplateDisplay, getTreePanel, getWindow, getWindows, getXTypeFromFormItem, getXTypeFromId, getXTypeFromLabel, isRequired, waitForSuccessMessage
Methods inherited from class com.onenetwork.platform.tools.test.ui.components.Component
getEl, getId, isDisplayed, isRequired
-
Field Details
-
parentFrameEl
public org.openqa.selenium.WebElement parentFrameEl -
collaborationName
public java.lang.String collaborationName
-
-
Constructor Details
-
Method Details
-
clickEdit
public void clickEdit()Clicks on "Edit" button. Note that Collaboration should be already shared so that "Edit" button will appear. -
clickSave
public void clickSave()Clicks on "Edit" button. Note that Collaboration should edit mode so that "Save" button will appear on UI. -
share
public void share()Clicks on "Share" button of collaboration. -
enterText
public void enterText(java.lang.String text)It will add text to collaboration content. Make sure that collaboration content should be in edit mode. You can use clickEdit() if its not newly created collaboration.- Parameters:
text
-
-
getCollaborationContent
public java.lang.String getCollaborationContent()- Returns:
- String for collaboration content
-
switchDriver
public void switchDriver()Description copied from class:Container
This is solely used to support its subclass,Frame
. The default implementation does nothing.- Overrides:
switchDriver
in classContainer
- See Also:
Container.switchDriver()
-
getCollaborationName
public java.lang.String getCollaborationName()- Returns:
- the collaborationName
-
setCollaborationName
protected void setCollaborationName(java.lang.String collaborationName)- Parameters:
collaborationName
- the collaborationName to set
-
getParentFrameEl
public org.openqa.selenium.WebElement getParentFrameEl()- Returns:
- the parentFrameEl
-
setParentFrameEl
public void setParentFrameEl(org.openqa.selenium.WebElement parentFrameEl)- Parameters:
parentFrameEl
- the parentFrameEl to set
-