Interface Mobile
- All Superinterfaces:
org.aeonbits.owner.Config, EngineProperties<Mobile>, Serializable
@Sources({"system:properties","file:src/main/resources/properties/MobileCapabilities.properties","file:src/main/resources/properties/default/MobileCapabilities.properties","classpath:MobileCapabilities.properties"})
public interface Mobile
extends EngineProperties<Mobile>
Configuration properties interface for mobile and Appium testing in the SHAFT framework.
Controls device name, platform version, app path, automation engine, and Appium server settings.
Use set() to override values programmatically:
SHAFT.Properties.mobile.set().deviceName("Pixel_5").platformVersion("13.0");
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.aeonbits.owner.Config
org.aeonbits.owner.Config.ConverterClass, org.aeonbits.owner.Config.DecryptorClass, org.aeonbits.owner.Config.DefaultValue, org.aeonbits.owner.Config.DisableableFeature, org.aeonbits.owner.Config.DisableFeature, org.aeonbits.owner.Config.EncryptedValue, org.aeonbits.owner.Config.HotReload, org.aeonbits.owner.Config.HotReloadType, org.aeonbits.owner.Config.Key, org.aeonbits.owner.Config.LoadPolicy, org.aeonbits.owner.Config.LoadType, org.aeonbits.owner.Config.PreprocessorClasses, org.aeonbits.owner.Config.Separator, org.aeonbits.owner.Config.Sources, org.aeonbits.owner.Config.TokenizerClass -
Method Summary
Modifier and TypeMethodDescriptionapp()default Mobile.SetPropertyset()Returns a fluentEngineProperties.SetPropertybuilder that allows programmatic override of individual configuration properties at runtime.udid()
-
Method Details
-
platformName
-
platformVersion
-
deviceName
-
automationName
-
udid
-
browserName
-
browserVersion
-
app
-
appPackage
-
appActivity
-
set
Description copied from interface:EnginePropertiesReturns a fluentEngineProperties.SetPropertybuilder that allows programmatic override of individual configuration properties at runtime.- Specified by:
setin interfaceEngineProperties<Mobile>- Returns:
- a new
EngineProperties.SetPropertyinstance for chaining property overrides
-