Skip to content

Instantly share code, notes, and snippets.

@tommirit
tommirit / gist:bdec14703c5f9f55746916f6782d533b
Created January 3, 2018 09:22
appium logs - iOS 11.X picker with lots of items crash
$ appium
[Appium] Welcome to Appium v1.7.1
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/xxx/git/ta/Projects/PickerTest3/build/pickertest400.app","showIOSLog":true,"noReset":true,"showXcodeLog":true,"newCommandTimeout":"500","automationName":"XCUITest","udid":"xxx","platformName":"iOS","deviceName":"iPhone","fullReset":false},"requiredCapabilities":{},"capabilities":{"desiredCapabilities":{"app":"/Users/xxx/git/ta/Projects/PickerTest3/build/pickertest400.app","showIOSLog":true,"noReset":true,"showXcodeLog":true,"newCommandTimeout":"500","automationName":"XCUITest","udid":"xxx","platformName":"iOS","deviceName":"iPhone","fullReset":false},"requiredCapabilities":{},"alwaysMatch":{"platformName":"iOS"},"firstMatch":[]}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/xxx/git/ta/Projects/PickerTest3/build/pickertest400.app","showIOSLog":true,"noReset":true,"showXcodeLog":true,"newCommandT
@tommirit
tommirit / gist:18af3df056ad01b41c95ffc4d2525ca8
Created January 3, 2018 10:15
appium java test example for ios picker view crash
import java.io.File;
import io.appium.java_client.AppiumDriver;
import io.appium.java_client.ios.IOSDriver;
import io.appium.java_client.ios.IOSElement;
import java.net.URL;
import org.openqa.selenium.remote.DesiredCapabilities;
public class PickerTest {
@tommirit
tommirit / gist:05a39967ac7963b8308f49388e9f251d
Created January 3, 2018 10:27
app crashes when picker view used with appium
Hardware Model: iPhone9,4
Process: pickertest [856]
Path: /private/var/containers/Bundle/Application/DEE8A3BB-E625-404D-ABC6-7AA7834E1BCF/pickertest400.app/pickertest
Identifier: fi.pickertest
Version: 1 (1.0)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: fi.pickertest [959]