public class GUIObjectDetails extends Object
| Constructor and Description |
|---|
GUIObjectDetails(String memberType,
String memberName,
String memberPackage) |
GUIObjectDetails(String memberType,
String memberName,
String memberPackage,
String parent) |
| Modifier and Type | Method and Description |
|---|---|
String |
firstToUpperCase(String str) |
String |
getMemberName() |
String |
getMemberPackage() |
String |
getMemberType() |
String |
getParent() |
String |
returnArg(String key) |
static List<GUIObjectDetails> |
transformKeys(List<String> keys)
A overloaded version of transformKeys method which internally specifies
TestPlatform.WEB as the
TestPlatform |
static List<GUIObjectDetails> |
transformKeys(List<String> keys,
TestPlatform platform)
This method convert each key in the data sheet into corresponding HtmlObjectDetails object and returns list of
HtmlObjectDetails
|
static void |
validateKeysInDataFile(List<String> keysToValidate,
String dataFileName,
TestPlatform currentPlatform)
Method to validate the keys against the
HtmlSeLionElementList or IOSSeLionElementList as per the
TestPlatform |
public GUIObjectDetails(String memberType, String memberName, String memberPackage)
public String getMemberType()
public String getMemberName()
public String getMemberPackage()
public String getParent()
public static List<GUIObjectDetails> transformKeys(List<String> keys, TestPlatform platform)
keys - keys for which GUIObjectDetails is to be created.public static List<GUIObjectDetails> transformKeys(List<String> keys)
TestPlatform.WEB as the
TestPlatformkeys - keys for which GUIObjectDetails is to be created.List of GUIObjectDetailspublic static void validateKeysInDataFile(List<String> keysToValidate, String dataFileName, TestPlatform currentPlatform)
HtmlSeLionElementList or IOSSeLionElementList as per the
TestPlatformkeysToValidate - the keys from the Page Yaml inputdataFileName - The file name containing the keyscurrentPlatform - the platform specified in the Page Yaml inputCopyright © 2016 PayPal Open Source. All rights reserved.