Skip navigation links
A B C D E F G H I J K L M P R S T U V Y 

A

AbstractSeLionElementList - Class in com.paypal.selion.elements
Abstract implementation for representing SeLion elements which are use for code generation.
AbstractSeLionElementList(String, String, boolean) - Constructor for class com.paypal.selion.elements.AbstractSeLionElementList
 
AbstractYamlReader - Class in com.paypal.selion.reader
This is an abstract representation of a typical yaml reader.
AbstractYamlReader() - Constructor for class com.paypal.selion.reader.AbstractYamlReader
 
AndroidSeLionElementList - Class in com.paypal.selion.elements
The class represents the elements that can be given in a page object data source and are recognized by Android platform
AndroidSeLionElementList(String, String, boolean) - Constructor for class com.paypal.selion.elements.AndroidSeLionElementList
 

B

BASE_CLASS - Static variable in class com.paypal.selion.elements.AndroidSeLionElementList
 
BASE_CLASS - Static variable in class com.paypal.selion.elements.HtmlSeLionElementList
 
BASE_CLASS - Static variable in class com.paypal.selion.elements.IOSSeLionElementList
 
BASE_CLASS - Static variable in class com.paypal.selion.elements.MobileSeLionElementList
 
BUTTON - Static variable in class com.paypal.selion.elements.HtmlSeLionElementList
 
Button - Static variable in class com.paypal.selion.elements.MobileSeLionElementList
 

C

canHaveParent() - Method in class com.paypal.selion.elements.HtmlSeLionElementList
 
CHECK_BOX - Static variable in class com.paypal.selion.elements.HtmlSeLionElementList
 
CodeGenerator - Class in com.paypal.selion.plugins
This class houses the core logic which is responsible for transforming a yaml file that houses locators into corresponding .java files.
CodeGenerator(String) - Constructor for class com.paypal.selion.plugins.CodeGenerator
 
CodeGeneratorException - Exception in com.paypal.selion.plugins
Thrown when an error occurs generating the .java page objects.
CodeGeneratorException() - Constructor for exception com.paypal.selion.plugins.CodeGeneratorException
 
CodeGeneratorException(String) - Constructor for exception com.paypal.selion.plugins.CodeGeneratorException
 
CodeGeneratorException(String, Throwable) - Constructor for exception com.paypal.selion.plugins.CodeGeneratorException
 
CodeGeneratorMojo - Class in com.paypal.selion.plugins
Goal used to generate SeLion Page Object code from PageYAML.
CodeGeneratorMojo() - Constructor for class com.paypal.selion.plugins.CodeGeneratorMojo
 
CodeGeneratorTestMojo - Class in com.paypal.selion.plugins
Goal used to generate SeLion Page Object code from PageYAML.
CodeGeneratorTestMojo() - Constructor for class com.paypal.selion.plugins.CodeGeneratorTestMojo
 
com.paypal.selion.elements - package com.paypal.selion.elements
This package houses all of the types of UI elements that SeLion can process.
com.paypal.selion.plugins - package com.paypal.selion.plugins
This package houses the primary classes for the SeLion Code Generator Maven Mojo
com.paypal.selion.reader - package com.paypal.selion.reader
This package houses all of the YAML file reading logic.
CONTAINER - Static variable in class com.paypal.selion.elements.HtmlSeLionElementList
 
createInstance(String) - Static method in class com.paypal.selion.reader.YamlReaderFactory
 

D

DataReader - Class in com.paypal.selion.plugins
This class provides basic methods the read the data from the YAML file.
DataReader(String) - Constructor for class com.paypal.selion.plugins.DataReader
 
DATE_PICKER - Static variable in class com.paypal.selion.elements.HtmlSeLionElementList
 
DELIMITER - Static variable in class com.paypal.selion.reader.AbstractYamlReader
 

E

Element - Static variable in class com.paypal.selion.elements.MobileSeLionElementList
 

F

FileSystemResource - Class in com.paypal.selion.reader
A simple POJO that represents a file on the local file system.
FileSystemResource(String) - Constructor for class com.paypal.selion.reader.FileSystemResource
 
findMatch(String) - Static method in class com.paypal.selion.elements.AndroidSeLionElementList
 
findMatch(String) - Static method in class com.paypal.selion.elements.HtmlSeLionElementList
 
findMatch(String) - Static method in class com.paypal.selion.elements.IOSSeLionElementList
 
findMatch(String) - Static method in class com.paypal.selion.elements.MobileSeLionElementList
 
firstToUpperCase(String) - Method in class com.paypal.selion.plugins.GUIObjectDetails
 
FORM - Static variable in class com.paypal.selion.elements.HtmlSeLionElementList
 

G

generateNewCode(File, String, String, String) - Method in class com.paypal.selion.plugins.CodeGenerator
This method will generate .java file based on the a yaml file contents.
getAllKeys() - Method in class com.paypal.selion.reader.AbstractYamlReader
 
getBaseClassName() - Method in class com.paypal.selion.plugins.DataReader
Return the base page class name from the PageYaml input
getBaseClassName() - Method in class com.paypal.selion.reader.AbstractYamlReader
 
getClass(String) - Static method in class com.paypal.selion.elements.HtmlElementUtils
Extracts the class name from a qualified class.
getElementPackage() - Method in class com.paypal.selion.elements.AbstractSeLionElementList
 
getFields() - Method in class com.paypal.selion.plugins.JavaCodeParser
This method get all the fields from the java compilation unit and return as a List
getFileName() - Method in class com.paypal.selion.reader.FileSystemResource
 
getGUIObjectList(List<String>) - Static method in class com.paypal.selion.elements.AndroidSeLionElementList
 
getGUIObjectList(List<String>) - Static method in class com.paypal.selion.elements.HtmlSeLionElementList
Method to obtain a List of GUIObjectDetails containing HtmlSeLionElementList
getGUIObjectList(List<String>) - Static method in class com.paypal.selion.elements.IOSSeLionElementList
Method to obtain a List of GUIObjectDetails containing IOSSeLionElementList
getGUIObjectList(List<String>) - Static method in class com.paypal.selion.elements.MobileSeLionElementList
 
getImports() - Method in class com.paypal.selion.plugins.JavaCodeParser
This method get all the import statement from the java compilation unit and return as a List
getInputStream() - Method in class com.paypal.selion.reader.FileSystemResource
 
getKeys() - Method in class com.paypal.selion.plugins.DataReader
Get the keys defined in the Page meta data
Note: Currently, only yaml files are supported.
getLogger() - Static method in class com.paypal.selion.plugins.Logger
 
getMemberName() - Method in class com.paypal.selion.plugins.GUIObjectDetails
 
getMemberPackage() - Method in class com.paypal.selion.plugins.GUIObjectDetails
 
getMemberType() - Method in class com.paypal.selion.plugins.GUIObjectDetails
 
getMethods() - Method in class com.paypal.selion.plugins.JavaCodeParser
This method get all the method details from the java compilation unit and return as a List
getPackage(String) - Static method in class com.paypal.selion.elements.HtmlElementUtils
Extracts the package from a qualified class.
getParent() - Method in class com.paypal.selion.plugins.GUIObjectDetails
 
getPlatform() - Method in class com.paypal.selion.reader.AbstractYamlReader
 
getPlatformName() - Method in enum com.paypal.selion.plugins.TestPlatform
 
getVelocityTemplateToUse() - Method in enum com.paypal.selion.plugins.TestPlatform
 
GUIObjectDetails - Class in com.paypal.selion.plugins
A simple POJO class that represents information pertaining to a html object.
GUIObjectDetails(String, String, String) - Constructor for class com.paypal.selion.plugins.GUIObjectDetails
 
GUIObjectDetails(String, String, String, String) - Constructor for class com.paypal.selion.plugins.GUIObjectDetails
 

H

HtmlElementUtils - Class in com.paypal.selion.elements
Utility methods to do code generation for supported elements.
HtmlElementUtils() - Constructor for class com.paypal.selion.elements.HtmlElementUtils
 
HtmlSeLionElementList - Class in com.paypal.selion.elements
This class represents the set of elements that can occur in a page object data source which are recognized by SeLion.

I

identifyPlatform(String) - Static method in enum com.paypal.selion.plugins.TestPlatform
Utility to map the platform from Page Yaml to TestPlatform
IMAGE - Static variable in class com.paypal.selion.elements.HtmlSeLionElementList
 
Image - Static variable in class com.paypal.selion.elements.MobileSeLionElementList
 
insertCode() - Method in class com.paypal.selion.plugins.JavaCodeInjector
This method will add methods, fields and import statement to existing java file
IOSSeLionElementList - Class in com.paypal.selion.elements
The class represents the elements that can be given in a page object data source and are recognized by iOS platform
isExactMatch(String) - Static method in class com.paypal.selion.elements.AndroidSeLionElementList
 
isExactMatch(String) - Static method in class com.paypal.selion.elements.HtmlSeLionElementList
 
isExactMatch(String) - Static method in class com.paypal.selion.elements.IOSSeLionElementList
 
isExactMatch(String) - Static method in class com.paypal.selion.elements.MobileSeLionElementList
 
isUIElement() - Method in class com.paypal.selion.elements.AbstractSeLionElementList
 
isValid(String) - Static method in class com.paypal.selion.elements.HtmlSeLionElementList
 
isValid(String) - Static method in class com.paypal.selion.elements.IOSSeLionElementList
 
isValidHtmlElement(String) - Static method in class com.paypal.selion.elements.HtmlSeLionElementList
 
isValidUIElement(String) - Static method in class com.paypal.selion.elements.AndroidSeLionElementList
 
isValidUIElement(String) - Static method in class com.paypal.selion.elements.IOSSeLionElementList
 
isValidUIElement(String) - Static method in class com.paypal.selion.elements.MobileSeLionElementList
 

J

JavaCodeInjector - Class in com.paypal.selion.plugins
This Class will add additional methods, fields or import statement to existing java class file
JavaCodeParser - Class in com.paypal.selion.plugins
JavaCodeParser class will read java file and gives import statements, fields and methods of that java file

K

KEY - Static variable in class com.paypal.selion.reader.AbstractYamlReader
 

L

LABEL - Static variable in class com.paypal.selion.elements.HtmlSeLionElementList
 
Label - Static variable in class com.paypal.selion.elements.MobileSeLionElementList
 
LINK - Static variable in class com.paypal.selion.elements.HtmlSeLionElementList
 
List - Static variable in class com.paypal.selion.elements.MobileSeLionElementList
 
Logger - Class in com.paypal.selion.plugins
A basic logger for the codegen maven mojo plugin
Logger() - Constructor for class com.paypal.selion.plugins.Logger
 
looksLike(String) - Method in class com.paypal.selion.elements.AbstractSeLionElementList
This method returns true if the key that was given ends with the textual value of the current element.
looksLike(String) - Method in class com.paypal.selion.elements.HtmlSeLionElementList
This method returns true if the key that was given ends with the textual value of one of the elements that are part of HtmlSeLionElementList

M

MobileSeLionElementList - Class in com.paypal.selion.elements
The class represents the elements that can be given in a page object data source and are common to both the iOS and Android platforms
MobileSeLionElementList(String, String, boolean) - Constructor for class com.paypal.selion.elements.MobileSeLionElementList
 

P

PAGE_TITLE - Static variable in class com.paypal.selion.elements.HtmlSeLionElementList
 
parseKeysForContainer(String, List<Object>) - Method in class com.paypal.selion.reader.AbstractYamlReader
 
parseKeysForContainer(String, Map<String, HtmlContainerElement>) - Method in class com.paypal.selion.reader.AbstractYamlReader
 
Picker - Static variable in class com.paypal.selion.elements.MobileSeLionElementList
 
platform() - Method in class com.paypal.selion.plugins.DataReader
Return the platform specified in the PageYaml input
processPage(FileSystemResource) - Method in class com.paypal.selion.reader.AbstractYamlReader
This method processes the contents of a data source (yaml file for e.g.,).

R

RADIO_BUTTON - Static variable in class com.paypal.selion.elements.HtmlSeLionElementList
 
registerElement(String) - Static method in class com.paypal.selion.elements.AndroidSeLionElementList
By providing the qualified name of a custom element we can register it to the element array.
registerElement(String) - Static method in class com.paypal.selion.elements.HtmlSeLionElementList
By providing the qualified name of a custom element we can register it to the element array.
registerElement(String) - Static method in class com.paypal.selion.elements.IOSSeLionElementList
By providing the qualified name of a custom element we can register it to the element array.
registerElement(String) - Static method in class com.paypal.selion.elements.MobileSeLionElementList
By providing the qualified name of a custom element we can register it to the element array.
returnArg(String) - Method in class com.paypal.selion.plugins.GUIObjectDetails
 

S

SELECT_LIST - Static variable in class com.paypal.selion.elements.HtmlSeLionElementList
 
SELION_ELEMENT_CLASS - Static variable in class com.paypal.selion.elements.HtmlSeLionElementList
 
setLogger(Log) - Static method in class com.paypal.selion.plugins.Logger
 
Slider - Static variable in class com.paypal.selion.elements.MobileSeLionElementList
 
stringify() - Method in class com.paypal.selion.elements.AbstractSeLionElementList
 
Switch - Static variable in class com.paypal.selion.elements.MobileSeLionElementList
 

T

TABLE - Static variable in class com.paypal.selion.elements.HtmlSeLionElementList
 
TestPlatform - Enum in com.paypal.selion.plugins
Represents the platform types code generation can be performed for.
TEXT_FIELD - Static variable in class com.paypal.selion.elements.HtmlSeLionElementList
 
TextField - Static variable in class com.paypal.selion.elements.MobileSeLionElementList
 
toString() - Method in class com.paypal.selion.elements.AbstractSeLionElementList
 
toString() - Method in class com.paypal.selion.elements.HtmlSeLionElementList
 
toString() - Method in class com.paypal.selion.reader.FileSystemResource
 
transformKeys(List<String>, TestPlatform) - Static method in class com.paypal.selion.plugins.GUIObjectDetails
This method convert each key in the data sheet into corresponding HtmlObjectDetails object and returns list of HtmlObjectDetails
transformKeys(List<String>) - Static method in class com.paypal.selion.plugins.GUIObjectDetails
A overloaded version of transformKeys method which internally specifies TestPlatform.WEB as the TestPlatform

U

UIAAlert - Static variable in class com.paypal.selion.elements.IOSSeLionElementList
 
UIAButton - Static variable in class com.paypal.selion.elements.IOSSeLionElementList
 
UIAElement - Static variable in class com.paypal.selion.elements.IOSSeLionElementList
 
UIANavigationBar - Static variable in class com.paypal.selion.elements.IOSSeLionElementList
 
UIAPicker - Static variable in class com.paypal.selion.elements.IOSSeLionElementList
 
UIASlider - Static variable in class com.paypal.selion.elements.IOSSeLionElementList
 
UIAStaticText - Static variable in class com.paypal.selion.elements.IOSSeLionElementList
 
UIASwitch - Static variable in class com.paypal.selion.elements.IOSSeLionElementList
 
UIATableView - Static variable in class com.paypal.selion.elements.IOSSeLionElementList
 
UIATextField - Static variable in class com.paypal.selion.elements.IOSSeLionElementList
 
UIAUTOMATION_ELEMENT_CLASS - Static variable in class com.paypal.selion.elements.AndroidSeLionElementList
 
UIAUTOMATION_ELEMENT_CLASS - Static variable in class com.paypal.selion.elements.IOSSeLionElementList
 
UIAUTOMATION_ELEMENT_CLASS - Static variable in class com.paypal.selion.elements.MobileSeLionElementList
 
UiButton - Static variable in class com.paypal.selion.elements.AndroidSeLionElementList
 
UiList - Static variable in class com.paypal.selion.elements.AndroidSeLionElementList
 
UiObject - Static variable in class com.paypal.selion.elements.AndroidSeLionElementList
 
UiSlider - Static variable in class com.paypal.selion.elements.AndroidSeLionElementList
 
UiSwitch - Static variable in class com.paypal.selion.elements.AndroidSeLionElementList
 
UiTextView - Static variable in class com.paypal.selion.elements.AndroidSeLionElementList
 

V

validateKeysInDataFile(List<String>, String, TestPlatform) - Static method in class com.paypal.selion.plugins.GUIObjectDetails
Method to validate the keys against the HtmlSeLionElementList or IOSSeLionElementList as per the TestPlatform
valueOf(String) - Static method in enum com.paypal.selion.plugins.TestPlatform
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.paypal.selion.plugins.TestPlatform
Returns an array containing the constants of this enum type, in the order they are declared.

Y

YamlReaderFactory - Class in com.paypal.selion.reader
A Factory that is internally responsible for producing AbstractYamlReader instances which can either process YAML V1 format (or) V2 format.
A B C D E F G H I J K L M P R S T U V Y 
Skip navigation links

Copyright © 2016 PayPal Open Source. All rights reserved.