public class MobileTestSession extends AbstractTestSession
MobileTest annotation parameters. Also performs sanity checks.isSharedSession| Modifier and Type | Method and Description |
|---|---|
String |
getAndroidAppMainActivity() |
String |
getAndroidAppPackage() |
String |
getAppLanguage() |
String |
getAppLocale() |
String |
getAppLocation() |
String |
getAppName() |
String |
getAppPath() |
String |
getAppVersion() |
String |
getDevice() |
String |
getDeviceSerial() |
String |
getDeviceType() |
MobileNodeType |
getMobileNodeType() |
WebDriverPlatform |
getPlatform() |
String |
getPlatformVersion() |
void |
initializeTestSession(InvokedMethodInformation method)
A initializer that initializes the sub-class of
AbstractTestSession based on the annotation. |
void |
startSession()
A Method to start a new session.
|
closeSession, getAdditionalCapabilities, getDeclaringClassName, getDependsOnMethods, getElementEventListeners, getMethodName, getParamsInfo, getTestName, getXmlTestName, hasDependentMethods, initializeAdditionalCapabilities, initializeAdditionalCapabilities, initializeAdditionalCapabilities, initTestSession, isStarted, setStartedpublic String getAppLocale()
public String getAppLanguage()
public String getAppName()
public String getAppVersion()
public String getDeviceSerial()
public String getAppLocation()
public String getAppPath()
public String getAndroidAppPackage()
public String getAndroidAppMainActivity()
public WebDriverPlatform getPlatform()
getPlatform in class AbstractTestSessionWebDriverPlatform object that represents the current platform.public MobileNodeType getMobileNodeType()
public String getPlatformVersion()
public String getDevice()
public String getDeviceType()
public void startSession()
AbstractTestSessionstartSession in class AbstractTestSessionpublic void initializeTestSession(InvokedMethodInformation method)
AbstractTestSessionAbstractTestSession based on the annotation.initializeTestSession in class AbstractTestSessionmethod - - An InvokedMethodInformation object that represents the currently invoked method.Copyright © 2016 PayPal Open Source. All rights reserved.