public class AdvanceSearchPage extends SharePage
| Modifier and Type | Field and Description |
|---|---|
protected static org.openqa.selenium.By |
CONTENT_MIME_TYPE |
protected static org.openqa.selenium.By |
CONTENT_SEARCH_FORM_DROPDOWN |
protected static org.openqa.selenium.By |
DESCRIPTION_SEARCH |
protected static org.openqa.selenium.By |
FOLDER_MENU_LIST |
protected static org.openqa.selenium.By |
FOLDER_SEARCH_MENU |
protected static org.openqa.selenium.By |
FOLDER_SEARCH_MENU_ITEM |
protected static org.openqa.selenium.By |
KEYWORD_SEARCH |
protected static org.openqa.selenium.By |
MODIFIER_FROM_SEARCH |
protected static org.openqa.selenium.By |
MODIFIER_SEARCH |
protected static org.openqa.selenium.By |
MODIFIER_TO_SEARCH |
protected static org.openqa.selenium.By |
NAME_SEARCH |
protected static org.openqa.selenium.By |
SEARCH_BUTTON |
protected static org.openqa.selenium.By |
TITLE_SEARCH |
alfrescoVersion, dojoSupport, elementWaitInSeconds, popupRendertime, PROMPT_PANEL_ID, WAIT_TIME_3000| Constructor and Description |
|---|
AdvanceSearchPage(org.alfresco.webdrone.WebDrone drone)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.webdrone.HtmlPage |
clickSearch()
Click on Search button.
|
protected org.openqa.selenium.WebElement |
findElementDisplayed(org.openqa.selenium.By elementId)
This function will help to find element in the content and folder serach form.
|
String |
getDescription()
Get the value entered in the description field.
|
String |
getFromDate()
Get the value entered in the from date field.
|
String |
getKeyword()
Get the value entered in the keyword field.
|
String |
getModifier()
Get the value entered in the modifier field.
|
String |
getName()
Get the value entered in the Name field.
|
String |
getTitle()
Get the value enetered in the title field.
|
String |
getToDate()
Get the value entered in the To date Field.
|
void |
inputDescription(String descriptionSearchText)
Enter the text value in the description field.
|
void |
inputFromDate(String fromDateText)
Enter the date in the from date field.
|
void |
inputKeyword(String keyWordSearchText)
Content keyword is Displayed and enter search text in the keyword.
|
void |
inputModifier(String modifierSearchText)
Enter the text value in the modifier field.
|
void |
inputName(String nameSearchText)
Enter the text value in the Name field.
|
void |
inputTitle(String titleSearchText)
Enter the text value in the title field.
|
void |
inputToDate(String toDateText)
Enter the date in the To date field.
|
protected boolean |
isDateModifierFromDisplayed()
Check whether Date Modifier are not displayed.
|
protected boolean |
isSearchButtonDisplayed()
Check whether Search button is displayed correctly.
|
boolean |
isValidFromDate()
Check whether Modified From Date is valid or not.
|
AdvanceSearchPage |
render() |
AdvanceSearchPage |
render(long time) |
AdvanceSearchPage |
render(org.alfresco.webdrone.RenderTime timer) |
org.alfresco.webdrone.HtmlPage |
searchLink(String searchType)
Select Folder search in the drop down.
|
void |
selectMimeType(String mimeType)
Select the Mime type.
|
basicRender, canResume, canResume, disbaleFileUploadFlash, elementRender, findButton, getCopyRight, getElementText, getLogin, getNav, getPageTitle, getPopupRendertime, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExists, setAlfrescoVersion, setElementWaitInSeconds, setPopupRendertime, submit, waitForFile, waitForFile, waitForFileprotected static final org.openqa.selenium.By KEYWORD_SEARCH
protected static final org.openqa.selenium.By NAME_SEARCH
protected static final org.openqa.selenium.By TITLE_SEARCH
protected static final org.openqa.selenium.By DESCRIPTION_SEARCH
protected static final org.openqa.selenium.By MODIFIER_SEARCH
protected static final org.openqa.selenium.By MODIFIER_FROM_SEARCH
protected static final org.openqa.selenium.By MODIFIER_TO_SEARCH
protected static final org.openqa.selenium.By CONTENT_MIME_TYPE
protected static final org.openqa.selenium.By SEARCH_BUTTON
protected static final org.openqa.selenium.By FOLDER_SEARCH_MENU
protected static final org.openqa.selenium.By FOLDER_SEARCH_MENU_ITEM
protected static final org.openqa.selenium.By FOLDER_MENU_LIST
protected static final org.openqa.selenium.By CONTENT_SEARCH_FORM_DROPDOWN
public AdvanceSearchPage(org.alfresco.webdrone.WebDrone drone)
drone - protected boolean isSearchButtonDisplayed()
protected boolean isDateModifierFromDisplayed()
public void inputKeyword(String keyWordSearchText)
String - keyWordSearchTextpublic String getKeyword()
public void inputName(String nameSearchText)
String - NameSearchTextpublic String getName()
public void inputTitle(String titleSearchText)
String - titleSearchTextpublic String getTitle()
getTitle in interface org.alfresco.webdrone.HtmlPagegetTitle in class org.alfresco.webdrone.Pagepublic void inputDescription(String descriptionSearchText)
String - descriptionSearchTextpublic String getDescription()
public void inputModifier(String modifierSearchText)
String - modifierSearchTextpublic String getModifier()
public void inputFromDate(String fromDateText)
String - fromDateTextpublic String getFromDate()
public void inputToDate(String toDateText)
String - ToDateTextpublic String getToDate()
public void selectMimeType(String mimeType)
String - mimeTypepublic org.alfresco.webdrone.HtmlPage clickSearch()
SharePageprotected org.openqa.selenium.WebElement findElementDisplayed(org.openqa.selenium.By elementId)
public org.alfresco.webdrone.HtmlPage searchLink(String searchType)
HtmlPagepublic boolean isValidFromDate()
public AdvanceSearchPage render(org.alfresco.webdrone.RenderTime timer)
public AdvanceSearchPage render(long time)
public AdvanceSearchPage render()
Copyright © 2013. All Rights Reserved.