[Appium][Android] background process restrictions

We recently got an issue about stopping background process, uiautomator2-server. I knew several limitations/restrictions for such background process on newer Android versions, but we had not got general issues by such features so far. The VIVO devices have customised OS based on Android OS. So, definitely, we can say the series is Android, but not…More

[Appium][iOS]handle dark mode via process arguments

Appium’s appium-ios-simulator has an ability to make simulator instance dark mode by issue. The ability affects entire system, but it works only on Simulator. We can handle the style in real devices, too, when the app has a logic to switch it in the code level. We also can control the configuration via process arguments…More

[Appium][iOS] Automate split screen by iPad OS

iPad OS has been released. On the OS, we can use split screen feature to handle multiple apps on the screen. In this case, there are multiple active apps on the screen. Appium 1.15.0 has defaultActiveApplication settings API to handle such case. You can handle on of them specifying the app as defaultActiveApplication. Below is…More

[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

[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