This tip is not new. I implemented this maybe around five years ago. In general, push notification related feature is difficult to automate since it requires external service. We must send a request to push notification server and should wait for the notification. If we focused on Android Application, we could make this kind of…More
Author Archives: KazuCocoa
[Erlang][Elixir] Erlang & Elixir Fest 2019 in Japan
I attended https://elixirconf.connpass.com/event/129526/. That was very excited to hear in real world Elixir/Erlang stuff in Japan. The conf has various talks, but the most excited one for me was https://speakerdeck.com/elixirfest/otp-to-ejabberd-wohuo-yong-sita-nintendo-switch-tm-xiang-ke-hutusiyutong-zhi-sisutemu-npns-false-kai-fa-shi-li The talk was by Nintendo. They has been handling push notifications for Switch in Erlang. The protocol was XMPP x ejabberd based one. I experienced…More
[Appium][Flutter]Calls flutter-driver via HttpRequests
I’ve written some easy articles about Flutter x Appium. [Appium][Flutter]Espresso driver x Flutter, [Flutter]Flutter app with Appium . Recently, some topics about accessibility feature/Espresso/EarlGrey are in Flutter issues. issue1, issue2, issue3. Their main topic is how to overwrap Espresso/EarlGrey and Flutter. Their main concept is Espresso-Web according to their issues. Anyway, the topics are very exciting for…More
[Appium][Azure]Build Appium Test Running environment on Azure Pipeline
Azure provide macOS instance for Android CI environment. On the instance, we can create x86 architecture Android emulator. The emulator is faster than arm’s one. Then, we can run tests which is necessary to launch emulator instances faster. On ruby_lib_core project, I built the environment for Android and iOS. The project already has over 50…More
[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
Read [改訂新版]マインドマップから始めるソフトウェアテスト
I read [改訂新版]マインドマップから始めるソフトウェアテスト which is renewed software testing book. Ordinary, the was published in 2007. We never get new the book via Amazon etc recently even if it is very helpful for Test/QA engineers. Mindmap tools are very useful toolset to break our thought down and arrange them. I like it very much. I often…More