[XCTest][iOS][Appium] Get all of elements in XCUIElementQuery

I posted [Appium][xcuitest]Compare getting outputs speed of source format before. Today, I would like to dive a bit more. The description shows debugDescription of available elements. So, how to get the available elements ? That is allElementsBoundByAccessibilityElement Immediately evaluates the query and returns an array of elements bound to the resulting accessibility elements. In fb_descriptionRepresentation, it…More

[iOS][Appium] A note about usbmuxd

Appium has been used libimobiledevice seriese, ios-deploy and ifuse to communicate with Apple devices. The CLI is very useful, but we’re switching it with appium-ios-device from next release, Appium 1.15.0. macOS has usbmuxd in /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/Resources/usbmuxd to communicate with Apple devices. It is launched by /System/Library/LaunchDaemons/ com.apple.usbmuxd.plist. As a readme on appium-ios-device, the library communicates with…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][iOS] Handle iOS apps via Appium over the network

From Appium 1.13.0, wdaBaseUrl has been introduced. The capability allows us to configure the URL of communication channel between xcuitest-driver which is running on the host machine and WDA which is running on the test device. Once the capability is provided like below, Appium build WDA as xcodebuild and install it to the device over…More

[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][xcuitest]Compare getting outputs speed of source format

Appium provides useJSONSource capability to make parsing XML in source command faster than the default XML format. In general, getting page source via Appium (WDA) is slower than XCUIApplication().debugDescription since XDA confirmed and attache some additional properties like visibility. The debug description does not provide visibility in the description. But, sometimes, the debugDescription helps us…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

[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