[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

[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

[Android]W3C WebDriver in ChromeDriver

The most noticeable change is ChromeDriver now runs in W3C standard compliant mode by default. Other changes include: ChromeDriver 75.0.3770.8 in http://chromedriver.chromium.org/downloads We can call non-W3C protocol adding below option as capabilities, but finally it can handle W3C spec by default! The value should be boolean. Lower Android browser can not work newer chrome driver, so…More

[Appium]Dart client for Appium

Flutter is growing. The framework is written in Dart. In mobile native world, Swift/Kotlin/Objective-C/Java are normal way to implement applications. Cross platform framework environment such as JavaScript for ReactNative and C# for Xamarin, for example, also have market. Flutter has been growing as a brilliant UI framework across Android and iOS. AndroidX-compose and SwiftUI also…More

[Android] A tip to automate push notification on Android via adb

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

[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

[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