Appium has a capability named simpleIsVisibleCheck which follows visibility by testmanagerd. The original PR is here. I have no exact idea we can recommend you to use the capability defaults to true, but I would leave a note about it here. Current Appium/WebDriverAgent has complicated process like this. The process after the simpleIsVisibleCheck is here.…More
Category Archives: development
[bash]pushd/podd, () in bash
Following commands are not only for bash, but you must ensure they can use your target system tho. pushdRemove the top entry from the directory stack, and cd to the new top directory. When no arguments are given, popd removes the top directory from the stack and performs a cd to the new top directory.…More
[Python]with statement
with statement is very helpful in Python code not to forget close in file, for example. We can define it following a rule as below. Nice. We can build our with to make some process safe. This is a note for me. https://docs.python.org/3/reference/datamodel.html#with-statement-context-managers https://www.python.org/dev/peps/pep-0343/ http://effbot.org/zone/python-with-statement.htmMore
[Appium][iOS]Configure devices via configuration profile feature via Appium
Appium provides Over-the-Air Profile Delivery and Configuration feature to configure devices via configuration profile. Appium already provides to set it as a mobile command. It helps configure your test device with the profile without your hand work. http://appium.io/docs/en/commands/mobile-command/ http://appium.io/docs/en/writing-running-appium/ios/ios-xctest-install-certificate/index.html Recent documentation about it is: https://developer.apple.com/documentation/devicemanagement/using_configuration_profilesMore
[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
[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][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