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
Category Archives: test automation
[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]Visibility attribute and simpleIsVisibleCheck capability in Appium/XCUITest
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
[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
[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