com.atlassian.confluence.pageobjects.page.content
Class RenderedContent

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.page.content.RenderedContent

public class RenderedContent
extends Object

Represents the rendered content on both the view page and inside the editor.


Field Summary
protected  com.atlassian.pageobjects.PageBinder binder
           
protected  ConfluenceFrameExecutor execute
           
protected  com.atlassian.pageobjects.elements.PageElementFinder page
           
protected  com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
          Returns the text content of the given column index.
 
Constructor Summary
RenderedContent()
           
 
Method Summary
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getAttribute(org.openqa.selenium.By locator, String attributeName)
          Get attribute by locator
 org.openqa.selenium.By getCellLocator()
           
 String getColumnContent(int column)
          Returns the text content of the given column index.
 String getColumnDataType(int column)
          Return the cell type for a certain cell, querying data-type attribute.
 org.openqa.selenium.By getColumnLocator()
           
 int getNumberOfColumns()
          Returns the number of columns in the current layout of the content
 com.atlassian.pageobjects.elements.query.TimedQuery<Integer> getNumberOfColumns(org.openqa.selenium.By parentRow)
          Gets number of columns for a particular row (for page layouts)
 String getText()
          Deprecated. since 5.6 use getTextTimed instead
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getTextTimed()
          Returns all the text in the wiki content
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getTimedColumnContent(int column)
           
 com.atlassian.pageobjects.elements.query.TimedQuery<String> getTimedPageLayoutsCellContent(int row, int column)
           
 com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> hasInlineMacro(String macroName, List<String> macroParameters)
          Deprecated. since 5.4.4 use the EditorContent.hasInlineMacro(java.lang.String, java.util.List)
 Boolean isElementPresentInEditorContent(org.openqa.selenium.By selection)
          Returns if certain selection is matched on the editor content
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

page

@Inject
protected com.atlassian.pageobjects.elements.PageElementFinder page

execute

@Inject
protected ConfluenceFrameExecutor execute

binder

@Inject
protected com.atlassian.pageobjects.PageBinder binder

timeouts

@Inject
protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
Returns the text content of the given column index. Note that the column index is 1 based.

Constructor Detail

RenderedContent

public RenderedContent()
Method Detail

getText

@Deprecated
public String getText()
Deprecated. since 5.6 use getTextTimed instead

Returns all the text in the wiki content


getAttribute

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getAttribute(org.openqa.selenium.By locator,
                                                                                String attributeName)
Get attribute by locator

Since:
5.7

getTextTimed

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getTextTimed()
Returns all the text in the wiki content

Since:
5.6

getNumberOfColumns

public com.atlassian.pageobjects.elements.query.TimedQuery<Integer> getNumberOfColumns(org.openqa.selenium.By parentRow)
Gets number of columns for a particular row (for page layouts)

Since:
5.6

getNumberOfColumns

public int getNumberOfColumns()
Returns the number of columns in the current layout of the content


getColumnDataType

public String getColumnDataType(int column)
Return the cell type for a certain cell, querying data-type attribute. Note that the column index is 1 based.


getColumnContent

public String getColumnContent(int column)
Returns the text content of the given column index. Note that the column index is 1 based.


getTimedColumnContent

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getTimedColumnContent(int column)

getTimedPageLayoutsCellContent

public com.atlassian.pageobjects.elements.query.TimedQuery<String> getTimedPageLayoutsCellContent(int row,
                                                                                                  int column)
Parameters:
row - is 1 index based
column - is 1 index based
Since:
5.6

getCellLocator

public org.openqa.selenium.By getCellLocator()

getColumnLocator

public org.openqa.selenium.By getColumnLocator()

isElementPresentInEditorContent

public Boolean isElementPresentInEditorContent(org.openqa.selenium.By selection)
Returns if certain selection is matched on the editor content


hasInlineMacro

public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> hasInlineMacro(String macroName,
                                                                                   List<String> macroParameters)
Deprecated. since 5.4.4 use the EditorContent.hasInlineMacro(java.lang.String, java.util.List)

Check if inline macro is existed on editor panel or not Warning: This method has been deprecated since Confluence 5.4.4 because it is should be place at EditorContent



Copyright © 2003–2015 Atlassian. All rights reserved.