[iOS]screenshot testing tools

Below are not new, but famous tools to achieve screenshot testing on iOS. It helps check view layer. https://github.com/mozilla-mobile/MappaMundi https://github.com/uber/ios-snapshot-test-case https://github.com/pointfreeco/swift-snapshot-testing We say “snapshot” testing sometimes, but “snapshot” is not only for screenshot comparison check. So, screenshot testing is more proper in this time, I think. I like swift-snapshot-testing since it has an interesting page,…More

[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

[iOS]WebDriver for Safari in iOS 13, finally

WebDriver is Coming to Safari in iOS 13 has been announced, and finally it supports iOS!! Currently, ios_webkit_debug_prozy is the only way to automate Safari browser on iOS. Appium also use it to handle Safari for iOS devices. The library has been maintained by Google. I believe many developers has hoped to support such automation…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