org.alfresco.webdrone.share.search
Class SearchBox
java.lang.Object
org.alfresco.webdrone.Page
org.alfresco.webdrone.share.SharePage
org.alfresco.webdrone.share.search.SearchBox
- All Implemented Interfaces:
- HtmlPage, Render
public class SearchBox
- extends SharePage
Represent elements found on the html page relating to the search
functionality.
- Since:
- 1.1
- Author:
- Michael Suzuki
|
Method Summary |
SearchBox |
render()
Page renderer verifies the page has rendered
by checking java script page loaded status is complete. |
SearchBox |
render(long time)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded by the
max limit time set. |
SearchBox |
render(RenderTime timer)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded. |
SharePage |
search(String term)
Performs the search by entering the term into search field
and submitting the search. |
| Methods inherited from class org.alfresco.webdrone.share.SharePage |
basicRender, canResume, canResume, disbaleFileUploadFlash, elementRender, findButton, getCopyRight, getLogin, getNav, getPageTitle, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExists |
SearchBox
public SearchBox(WebDrone drone)
- Constructor.
render
public SearchBox render(RenderTime timer)
- Description copied from interface:
Render
- Page renderer verifies the page has rendered
by checking all elements are visible and loaded.
To verify this assertion every page object that implements
the method will contain logic to determine if the page has
loaded completely in the given time set by the
RenderTime.
- Parameters:
timer - RenderTime time to wait
- Returns:
HtmlPage page object response
render
public SearchBox render()
- Description copied from interface:
Render
- Page renderer verifies the page has rendered
by checking java script page loaded status is complete.
- Returns:
HtmlPage object response
render
public SearchBox render(long time)
- Description copied from interface:
Render
- Page renderer verifies the page has rendered
by checking all elements are visible and loaded by the
max limit time set.
- Parameters:
time - waiting time
- Returns:
HtmlPage page object response
search
public SharePage search(String term)
- Performs the search by entering the term into search field
and submitting the search.
- Parameters:
term - String term to search
- Returns:
- true when actioned
Copyright © 2013. All Rights Reserved.