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 Classes
    Modifier and Type
    Interface
    Description
    static class 
     

    Nested 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 Type
    Method
    Description
    app()
     
     
     
     
     
     
     
     
     
    set()
    Returns a fluent EngineProperties.SetProperty builder that allows programmatic override of individual configuration properties at runtime.
     
  • Method Details

    • platformName

      @Key("platformName") @DefaultValue("") String platformName()
    • platformVersion

      @Key("mobile_platformVersion") @DefaultValue("") String platformVersion()
    • deviceName

      @Key("mobile_deviceName") @DefaultValue("") String deviceName()
    • automationName

      @Key("mobile_automationName") @DefaultValue("UIAutomator2") String automationName()
    • udid

      @Key("mobile_udid") @DefaultValue("") String udid()
    • browserName

      @Key("browserName") @DefaultValue("") String browserName()
    • browserVersion

      @Key("MobileBrowserVersion") @DefaultValue("") String browserVersion()
    • app

      @Key("mobile_app") @DefaultValue("") String app()
    • appPackage

      @Key("mobile_appPackage") @DefaultValue("") String appPackage()
    • appActivity

      @Key("mobile_appActivity") @DefaultValue("") String appActivity()
    • set

      default Mobile.SetProperty set()
      Description copied from interface: EngineProperties
      Returns a fluent EngineProperties.SetProperty builder that allows programmatic override of individual configuration properties at runtime.
      Specified by:
      set in interface EngineProperties<Mobile>
      Returns:
      a new EngineProperties.SetProperty instance for chaining property overrides