Skip to content

Instantly share code, notes, and snippets.

qa-intern@Administrators-MacBook-Pro-2 DeviceFarmAndroid % mvn clean package -DskipTests=true
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< appium:DeviceFarmAndroid >----------------------
[INFO] Building FinalDemo 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ DeviceFarmAndroid ---
[INFO] Deleting /Users/hjoshi/eclipse-workspace/DeviceFarmAndroid/target
[INFO]
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>appium</groupId>
<artifactId>FinalDemo</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>FinalDemo</name>
[HTTP] {"desiredCapabilities":{"app":"/Users/hjoshi/Desktop/AllFinal/new/Cordovatutorialapp.app","automationName":"XCuiTest","platformName":"IOS","deviceName":"iPhone50","platformVersion":"13.2"},"capabilities":{"firstMatch":[{"appium:app":"/Users/hjoshi/Desktop/AllFinal/new/Cordovatutorialapp.app","appium:automationName":"XCuiTest","appium:deviceName":"iPhone50","platformName":"ios","appium:platformVersion":"13.2"}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/hjoshi/Desktop/AllFinal/new/Cordovatutorialapp.app","automationName":"XCuiTest","platformName":"IOS","deviceName":"iPhone50","platformVersion":"13.2"},null,{"firstMatch":[{"appium:app":"/Users/hjoshi/Desktop/AllFinal/new/Cordovatutorialapp.app","appium:automationName":"XCuiTest","appium:deviceName":"iPhone50","platformName":"ios","appium:platformVersion":"13.2"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1583352644406 (12:10:44 GMT-0800 (Pacific Standard Time))
[Appium] Appium v1.13.0 creating new X
[Xcode] testsMustRunOnMainThread:YES
[Xcode] initializeForUITesting:YES
[Xcode] aggregateStatisticsBeforeCrash:
[Xcode] {
[Xcode] XCSuiteRecordsKey = {
[Xcode] };
[Xcode] }
[Xcode] automationFrameworkPath:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 13.2.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework
[Xcode] emitOSLogs:no
[Xcode] systemAttachmentLifetime:2
Main :
package iosCor;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.remote.DesiredCapabilities;
[XCUITest] App is present
[iOS] Getting bundle ID from app '/Users/hjoshi/Desktop/AllFinal/new/Cordovatutorialapp.app': 'com.noknok.ios779.cordovatutorialapp'
[BaseDriver] Event 'resetStarted' logged at 1583185885432 (13:51:25 GMT-0800 (PST))
[XCUITest] Not scrubbing third party app in anticipation of uninstall
[BaseDriver] Event 'resetComplete' logged at 1583185885553 (13:51:25 GMT-0800 (PST))
[XCUITest] Continuing without capturing device logs: iOS Simulator with udid D3831CC5-948A-4000-B54B-04FA00549A6C is not running
[XCUITest] Setting up simulator
[iOS] No reason to set locale
[iOS] No iOS / app preferences to set
[iOS] Setting did not need to be updated
[Appium] Welcome to Appium v1.15.1
[Appium] Non-default server args:
[Appium] allowInsecure: {
[Appium] }
[Appium] denyInsecure: {
[Appium] }
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"app":"/Users/hjoshi/Desktop/AllFinal/Cordovatutorialapp.app","platformVersion":"13.3.1","automationName":"XCuiTest","platformName":"IOS","udid":"auto","deviceName":"Vaibhav's iPhone"},"capabilities":{"firstMatch":[{"appium:app":"/Users/hjoshi/Desktop/AllFinal/Cordovatutorialapp.app","appium:automationName":"XCuiTest","appium:deviceName":"Vaibhav's iPhone","platformName":"ios","appium:platformVersion":"13.3.1","appium:udid":"auto"}]}}
[W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/hjoshi/Desktop/AllFinal/Cordovatutorialapp.app","platformVersion":"13.3.1","automationName":"XCuiTest","platformName":"IOS","udid":"auto","deviceName":"Vaibhav's iPhone"},null,{"firstMatch":[{"appium:app":"/Users/hjoshi/Desktop/AllFi
[HTTP] {"desiredCapabilities":{"app":"/Users/hjoshi/Desktop/AllFinal/Cordovatutorialapp.app","platformVersion":"13.3.1","automationName":"XCuiTest","platformName":"IOS","udid":"auto","deviceName":"Vaibhav's iPhone"},"capabilities":{"firstMatch":[{"appium:app":"/Users/hjoshi/Desktop/AllFinal/Cordovatutorialapp.app","appium:automationName":"XCuiTest","appium:deviceName":"Vaibhav's iPhone","platformName":"ios","appium:platformVersion":"13.3.1","appium:udid":"auto"}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/hjoshi/Desktop/AllFinal/Cordovatutorialapp.app","platformVersion":"13.3.1","automationName":"XCuiTest","platformName":"IOS","udid":"auto","deviceName":"Vaibhav's iPhone"},null,{"firstMatch":[{"appium:app":"/Users/hjoshi/Desktop/AllFinal/Cordovatutorialapp.app","appium:automationName":"XCuiTest","appium:deviceName":"Vaibhav's iPhone","platformName":"ios","appium:platformVersion":"13.3.1","appium:udid":"auto"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 15
package iosCor;
import java.net.MalformedURLException;
import java.net.URL;
import org.openqa.selenium.remote.DesiredCapabilities;
import io.appium.java_client.ios.IOSDriver;
import io.appium.java_client.ios.IOSElement;
import io.appium.java_client.remote.AutomationName;
[Appium] Welcome to Appium v1.13.0
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"app":"/Users/hjoshi/Desktop/AllFinal/new/Cordovatutorialapp.app","automationName":"XCuiTest","platformName":"IOS","deviceName":"iPhone50","platformVersion":"13.2"},"capabilities":{"firstMatch":[{"appium:app":"/Users/hjoshi/Desktop/AllFinal/new/Cordovatutorialapp.app","appium:automationName":"XCuiTest","appium:deviceName":"iPhone50","platformName":"ios","appium:platformVersion":"13.2"}]}}
[W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/hjoshi/Desktop/AllFinal/new/Cordovatutorialapp.app","automationName":"XCuiTest","platformName":"IOS","deviceName":"iPhone50","platformVersion":"13.2"},null,{"firstMatch":[{"appium:app":"/Users/hjoshi/Desktop/AllFinal/new/Cordovatutorialapp.app","appium:automationName":"XCuiTest","appium:deviceName":"iPhone50","platformName":"ios","appium:platformVersion":"13.2"}]}]
[BaseDriver] Event 'newSess