com.atlassian.confluence.selenium.client
Class LinkBrowser
java.lang.Object
com.atlassian.confluence.selenium.client.Dialog
com.atlassian.confluence.selenium.client.LinkBrowser
public class LinkBrowser
- extends Dialog
Fields inherited from class com.atlassian.confluence.selenium.client.Dialog |
client, id |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkBrowser
public LinkBrowser(ConfluenceSeleniumClient client)
getHeading
public java.lang.String getHeading()
waitUntilVisible
public void waitUntilVisible()
- Overrides:
waitUntilVisible
in class Dialog
clickInsert
public void clickInsert()
clickCancel
public void clickCancel()
selectTab
public LinkBrowser selectTab(LinkBrowser.Tab tab)
getSelectedTab
public LinkBrowser.Tab getSelectedTab()
getTextInAlias
public java.lang.String getTextInAlias()
- Returns:
- the current text in the link text field.
typeTextInAlias
public void typeTextInAlias(java.lang.String text)
- Types in the current link text field.
pressEnterInAliasField
public void pressEnterInAliasField()
- Press enter in the current link text field.
getTextInSearch
public java.lang.String getTextInSearch()
- Returns:
- the current text in the search field
typeInSearch
public void typeInSearch(java.lang.String text)
- Types in the search field without firing key events.
- See Also:
quickSearch(String)
pressEnterInSearch
public void pressEnterInSearch()
quickSearch
public void quickSearch(java.lang.String text)
- Types in the search field and fires key events to tigger the quick search.
selectFromQuickSearch
public void selectFromQuickSearch(java.lang.String name)
isPresentInQuickSearch
public boolean isPresentInQuickSearch(java.lang.String name)
waitForQuickSearchToClose
public void waitForQuickSearchToClose()
- Waits for the quick search drop down to close.
escapeFromQuickSearch
public void escapeFromQuickSearch()
clickSearchButton
public void clickSearchButton()
typeExternalLink
public void typeExternalLink(java.lang.String externalLink)
getTextInExternalLink
public java.lang.String getTextInExternalLink()
isInsertButtonEnabled
public boolean isInsertButtonEnabled()
getSpaceSelected
public java.lang.String getSpaceSelected()
selectSearchSpace
public void selectSearchSpace(java.lang.String spaceName)
isBreadcrumbsVisible
public boolean isBreadcrumbsVisible()
isPresentInSearchResults
public boolean isPresentInSearchResults(java.lang.String contentType,
java.lang.String name)
isAttachmentPresent
public boolean isAttachmentPresent(Attachment attachment)
getAttachmentTitle
public java.lang.String getAttachmentTitle(int row)
getSelectedAttachment
public java.lang.String getSelectedAttachment()
selectAttachment
public void selectAttachment(Attachment attachment)
getDataTableRows
public int getDataTableRows()
waitForDataTableMessage
public void waitForDataTableMessage(java.lang.String message)
waitForDataTable
public void waitForDataTable(int rows)
isPresentInDataTable
public boolean isPresentInDataTable(ContentEntity content)
selectFromDataTable
public void selectFromDataTable(java.lang.String title)
getInsertButtonText
public java.lang.String getInsertButtonText()
searchAndSelect
public void searchAndSelect(java.lang.String contentTitle)
Copyright © 2003-2010 Atlassian. All Rights Reserved.