> open /Applications/Xcode.app/Contents/Developer/Applications/iOS\ Simulator.app
#APPIUM APP INSTRUMENTATION SET DRIVER#
#APPIUM APP INSTRUMENTATION SET FOR ANDROID#
for Android a path to the ANDROID_HOME is needed to be specified Other possibilities are Android device, iPhone/iPad simulator or a specific iPhone/iPad device (iPad 2. we specify we will be working with Android emulator. This example basically does the following: stop the driver ( close the tested application ) MobileEngine.getButton( "loginB" ).click() // "tap" on the button MobileEngine.getTextBox( "passwordTB" ).setValue( "pass" ) MobileEngine.getTextBox( "usernameTB" ).setValue( "admin" ) specify the file describing the UI components we want to work with MobileEngine mobileEngine = mobileDriver.getMobileEngine() MobileDriver.start( "D:\\mobile_apps\\android\\SecureTransportMobile.apk" ) start the driver (starts the device emulator if not already started and load the tested application) tAndroidHome( "D:\\android\\android-sdk_r24.0.2\\" ) // if not already set as an Environment Variable (ANDROID_HOME) MobileDriver mobileDriver = UiDriver.getMobileDriver( MobileDriver.DEVICE_ANDROID_EMULATOR, "4.4", null, "localhost" )