Class ProblemDetail

java.lang.Object

public class ProblemDetail
extends Container
Represents Selenium component for Workbench problem detail
  • Field Details

    • parentFrameEl

      public org.openqa.selenium.WebElement parentFrameEl
  • Constructor Details

  • Method Details

    • getDetailInfoSection

      public org.openqa.selenium.WebElement getDetailInfoSection()
      Returns WebElement for summary of "Problem Details" section.
    • expandSection

      public void expandSection​(java.lang.String sectionName)
      Expands specified section. Note that it assumes specified section is in collapsed state.
      Parameters:
      sectionName -
    • collapseSection

      public void collapseSection​(java.lang.String sectionName)
      Collapses specified section. Note that it assumes specified section is in expanded state.
      Parameters:
      sectionName -
    • getSection

      public org.openqa.selenium.WebElement getSection​(java.lang.String sectionName)
      Returns WebElement for specified section in problemDetail. Make sure that specified section should in expand state otherwise any operation on section element will throw ElementNotVisibleException.
      Parameters:
      sectionName -
      Returns:
    • resolve

      public org.openqa.selenium.WebElement resolve()
      Clicks on "Resolve" icon of problem detail.
      Returns:
      WebElement for popup dialog window.
    • openProblemChat

      public org.openqa.selenium.WebElement openProblemChat()
      Click "Chat" icon from side bar of problem detail.
      Returns:
      WebElement for chat panel which opens after chat icon is clicked.
    • openProblemNote

      public org.openqa.selenium.WebElement openProblemNote()
      Click "Note" icon from side bar of problem detail.
      Returns:
      WebElement for note panel which opens after note icon is clicked.
    • startConversation

      public void startConversation()
      Clicks on "Start Conversation" link from side bar.
    • createNewCollaboration

      public Collaboration createNewCollaboration​(java.lang.String collaborationName)
      Creates new Collaboration with give name.
      Parameters:
      collaborationName -
      Returns:
      Collaboration component for newly created collaboration.
    • getCollaboration

      public Collaboration getCollaboration​(java.lang.String collaborationName)
      Fetches already existing collaboration by collaboration name.
      Parameters:
      collaborationName -
      Returns:
      Collaboration component
    • 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