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, setStarted
public 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 AbstractTestSession
WebDriverPlatform
object that represents the current platform.public MobileNodeType getMobileNodeType()
public String getPlatformVersion()
public String getDevice()
public String getDeviceType()
public void startSession()
AbstractTestSession
startSession
in class AbstractTestSession
public void initializeTestSession(InvokedMethodInformation method)
AbstractTestSession
AbstractTestSession
based on the annotation.initializeTestSession
in class AbstractTestSession
method
- - An InvokedMethodInformation
object that represents the currently invoked method.Copyright © 2016 PayPal Open Source. All rights reserved.