[idb][iOS] idb renamed from FBSimulatorControl

FB has been renamed from FBSimulatorControl to idb as https://github.com/facebook/idb which also replaces WebDriverAgent with it, according to https://github.com/facebook/idb/issues/526. idb wraps handling simulators and real devices. They also published brilliant documentation https://www.fbidb.io/ . It has a part about how idb works for xctest framework. https://www.fbidb.io/docs/test_execution In the page, we can see essential concepts/words for XCUITests.…More

[Android] A note for jetpack benchmark feature in Android

At Google I/O, benchmarking feature has been released. The video is this. In 2015, I wrote an article, titled [iOS][Swift]XCTestでパフォーマンスを計測したり、処理をwaitする. It was about how to measure performance in XCTest. It was able to use for both non-UI and UI tests. As the similar way, we finally can get the way to measure performance on Android…More

[Android] Updated the official Fundamentals of Testing doc

Fundamentals of Testing has been updated based on AndroidX series. As I have proposed similar pyramid for a long time to friends of mine and colleagues. e.g. [English]Test automation design for Cookpad’s global Android app, 2018, [Japanese]Android/iOSアプリのテストの区分戦略, 2016 In the article, below is mapped. Local unit tests => small tests Instrumented unit tests => medium tests…More

[Android][Appium] Page Source of Jetpack Compose

Google announced Jetpack Compose to simplify and programable UI development. I thought it was like Flutter then 🙂 I wondered if we can get view hierarchy correctly via the feature since if the feature is like Flutter, it is not on full Android view system. Espresso and UiAutomator probably cannot find element provided by it.…More

[iOS]Xcode returns an authorization error

When I ran xcodebuild commands, I got an error which was about Install Failed: Error Domain=DVTDownloadableErrors Code=3 “The authorization was denied since no user interaction was possible.” UserInfo={AuthorizationErrorCode=-60007, NSLocalizedDescription=The authorization was denied since no user interaction was possible.} Then, xcodebuild -checkFirstLaunchStatus returns 69 status code. Maybe, it can fix with xcodebuild -runFirstLaunch, but I haven’t…More

[Appium]Re-use existing WDA in create session command

In [Appium] Prevent building WDA with useXctestrunFile or usePrebuiltWDA, I explained how to skip re-building WDA every session in order to make test setup faster. I would like to show a “cache” feature for WDA in Appium. After this PR , the function will work correctly. The PR will be in 1.12.1 or 1.13.0. As…More

[JS]debug using Chrome Dev Tools via VSCode

Chrome provides brilliant toolchain to develop JavaScript, Chrome Dev Tools. I usually connect to the debug console via inspect you can open it on the browser. Meanwhile, the inspector is kind of heavy when you would like to open only console debug interface. I started using the inspector via VSCode. I could open an arbitrary…More

[Appium][Flutter]Espresso driver x Flutter

I have updated my sandbox repository for Flutter x Appium. Update test app based on Flutter 1.0 Update test scenarios for it In Android, I could launch and through a simple scenario with UIA2 driver. But I could not succeed to launch it with Espresso driver. Below log is here Something happened with instrumentation combination……More

[Appium][Android]Set DataPicker and TimePicker via Espresso Driver (Eng)

This post is English edition of [Appium][Android]Set DataPicker and TimePicker via Espresso Driver which is for Selenium/Appium Advent Calendar 2018 in Japanese. mobile command Appium provides mobile command to conduct native commands in order to extend Appium actions using native features. In general, we follow the W3C webdriver spec. We add new endpoints which have…More

[Flutter]Tests strategy in Flutter

I read the documentation of Flutter 1.0 based. I also tried to run each test type explained by the documentation. Flutter has three type testing feature. When I saw the page and below a table, I remember my opinion for mobile test automation like 1 or 2. The flutter also has a similar role for each…More