|
||||||||||
| 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.AdvanceSearchAbstract
public abstract class AdvanceSearchAbstract
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 |
DESCRIPTION_SEARCH
|
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 |
AdvanceSearchAbstract(WebDrone drone)
Constructor |
| Method Summary | |
|---|---|
SiteResultsPage |
clickSearch()
Click on Search button. |
protected boolean |
dateModifierIsNotDisplayed()
Check whether Date Modifier are not displayed. |
protected org.openqa.selenium.WebElement |
findElementDisplayed(org.openqa.selenium.By elementId)
Find the element that is displayed. |
void |
inputDescription(String descriptionSearchText)
Enter the text value got 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 got in the modifier field. |
void |
inputName(String nameSearchText)
Enter the text value got in the Name field. |
void |
inputTitle(String titleSearchText)
Enter the text value got in the title field. |
void |
inputToDate(String toDateText)
Enter the date in the To date field. |
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
| Constructor Detail |
|---|
protected AdvanceSearchAbstract(WebDrone drone)
drone - | Method Detail |
|---|
public void inputKeyword(String keyWordSearchText)
public 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()
protected boolean dateModifierIsNotDisplayed()
protected org.openqa.selenium.WebElement findElementDisplayed(org.openqa.selenium.By elementId)
throws NoSuchElementException
NoSuchElementException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||