|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.alfresco.webdrone.Page
org.alfresco.webdrone.share.SharePage
org.alfresco.webdrone.share.search.AdvanceSearch
public abstract class AdvanceSearch
Advance search Abstract contains all the common functions of the search forms.
| Field Summary | |
|---|---|
protected static org.openqa.selenium.By |
CONTENT_MIME_TYPE
|
protected static org.openqa.selenium.By |
CONTENT_SEARCH_FORM
|
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
|
| Fields inherited from class org.alfresco.webdrone.share.SharePage |
|---|
dojoSupport, WAIT_TIME_3000 |
| Fields inherited from class org.alfresco.webdrone.Page |
|---|
drone, maxPageLoadingTime, version |
| Constructor Summary | |
|---|---|
protected |
AdvanceSearch(WebDrone drone)
Constructor |
| Method Summary | |
|---|---|
SiteResultsPage |
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. |
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. |
HtmlPage |
searchLink(String searchType)
Select Folder search in the drop down. |
void |
selectMimeType(String mimeType)
Select the Mime type. |
| 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 |
| Methods inherited from class org.alfresco.webdrone.Page |
|---|
close, getDrone, getScreenShot, getTitle, isBrowserTitle, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.alfresco.webdrone.Render |
|---|
render, render, render |
| Field Detail |
|---|
protected 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
| Constructor Detail |
|---|
protected AdvanceSearch(WebDrone drone)
drone - | Method Detail |
|---|
protected boolean isSearchButtonDisplayed()
protected boolean isDateModifierFromDisplayed()
public void inputKeyword(String keyWordSearchText)
String - keyWordSearchTextpublic void inputName(String nameSearchText)
String - NameSearchTextpublic void inputTitle(String titleSearchText)
String - titleSearchTextpublic void inputDescription(String descriptionSearchText)
String - descriptionSearchTextpublic void inputModifier(String modifierSearchText)
String - modifierSearchTextpublic void inputFromDate(String fromDateText)
String - fromDateTextpublic void inputToDate(String toDateText)
String - ToDateTextpublic void selectMimeType(String mimeType)
String - mimeTypepublic SiteResultsPage clickSearch()
SiteResultsPage
protected org.openqa.selenium.WebElement findElementDisplayed(org.openqa.selenium.By elementId)
throws NoSuchElementException
NoSuchElementExceptionpublic HtmlPage searchLink(String searchType)
HtmlPage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||