[iOS][XCTest][Appium]iOS13 returns different source structure

iOS 13 returns different source tree structure as the view hierarchy. Appium builds view hierarchy from accessibility snapshot. Users can search elements as XPath or class chain which find elements from the view hierarchy. They depend on the view hierarchy. Thus, if the hierarchy changes, we must re-struct the path for the view. We noticed…More

Read “iOSアプリ開発自動テストの教科”

I would put a note for iOSアプリ開発自動テストの教科 which is iOS testing (by XCTest, XCUITest) before. Recently I read only English book, though. (I forgot to leave here) The book isn’t new for me. That is for beginners who want to learn iOS test toolchain, focusing on how to use them. I purchased the beta of…More

[iOS][Appium]A note topics I dropped from the book

I’m writing a test automation book in Japanese. Then, I dropped some kind of deep dive into XCTest items since the logic is not for beginners. The target is a bit differ from the topics. I picked some words from the dropped list here. testmanagerd usbmux XCUITest runs methods on the main thread, run some…More

[iOS]screenshot testing tools

Below are not new, but famous tools to achieve screenshot testing on iOS. It helps check view layer. https://github.com/mozilla-mobile/MappaMundi https://github.com/uber/ios-snapshot-test-case https://github.com/pointfreeco/swift-snapshot-testing We say “snapshot” testing sometimes, but “snapshot” is not only for screenshot comparison check. So, screenshot testing is more proper in this time, I think. I like swift-snapshot-testing since it has an interesting page,…More

Read “Hit Refresh”

I read “Hit Refresh” by Satya Nadella since I was interested in how MS has been changed after he was in the CEO. I was able to find positive articles about him. The book started how he changed. What they learned after acquiring Nokia. How their board meeting changed to collaborate each leaders to make…More

A note about “Software Testing”

I read “Software Testing” by Ron Patton. The title is very generic, so I thought what the book’s main topic. The book is 2nd edition. The 1st was published in 2001. When I searched “Grey box” before, I met this book. I wanted to know what was the root about the word/concept of “Grey box”…More

[Android][ChromeDriver][Appium]chromeOptions to disable welcome screen

Chromedriver checked Appium can provide chromeOption like: or https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/caps.md Then, we can give disabling welcome screen on chrome with below. https://github.com/bayandin/chromedriver/blob/5ba09b3f3f184aa3448d167d4809a73eac46a155/chrome_launcher.cc#L100 https://chromium.googlesource.com/chromium/src/+/master/chrome/test/chromedriver/chrome_launcher.cc#100 BTW, we can see which capabilities are available as the chrome option in https://chromium.googlesource.com/chromium/src/+/master/chrome/test/chromedriver/capabilities.cc#541 . The args is there, but prefs is only in non Android. So, prefs is available PC chrome.More

[XCTest][iOS][Appium] Get all of elements in XCUIElementQuery

I posted [Appium][xcuitest]Compare getting outputs speed of source format before. Today, I would like to dive a bit more. The description shows debugDescription of available elements. So, how to get the available elements ? That is allElementsBoundByAccessibilityElement Immediately evaluates the query and returns an array of elements bound to the resulting accessibility elements. In fb_descriptionRepresentation, it…More

[iOS][Appium] A note about usbmuxd

Appium has been used libimobiledevice seriese, ios-deploy and ifuse to communicate with Apple devices. The CLI is very useful, but we’re switching it with appium-ios-device from next release, Appium 1.15.0. macOS has usbmuxd in /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/Resources/usbmuxd to communicate with Apple devices. It is launched by /System/Library/LaunchDaemons/ com.apple.usbmuxd.plist. As a readme on appium-ios-device, the library communicates with…More