menu

All Editions

18
Using Espresso With Appium
Java
Android
All Devices
Last updated on May 23, 2018
Espresso and Appium?! That's right, you can access the power and reliability of Google's flagship Android automation technology from within Appium, retaining the ability to write WebDriver-compatible scripts in any programming language.
17
Automating Cross-Platform Hybrid Apps
Java
iOS and Android
All Devices
Last updated on May 16, 2018
Hybrid apps contain both native and web components, melded together in some ratio to provide a single unified app experience for the user. With Appium and the various Context commands, it's possible to successfully automate both halves of hybrid apps across both iOS and Android.
16
Automating the Clipboard on iOS and Android
Java
iOS and Android
All Devices
Last updated on May 9, 2018
Both iOS and Android allow copying and pasting of text and other types of content. Apps can hook into this native clipboard and provide custom experiences based on clipboard content. Appium gives you special commands to automate the clipboard across both platforms.
15
Testing iOS Push Notifications
Java
iOS
Real Devices
Last updated on May 2, 2018
Push notifications are an essential part of many apps. How can you test that the appropriate messages are sent? Apple doesn't make it easy, but with Appium there's a way to solve the challenge by automating the notifications shade.
14
How to Automate a Pop Rock Band
JS
All Platforms
All Devices
Last updated on Apr 25, 2018
Sometimes you need a mobile software robot like Appium for something other than your day job. In this article I break down my AppiumConf 2018 demo, giving a behind-the-scenes tour of how I managed to coax Appium to act as the director of a software band which accompanied my performance of the original song 'Ghost in the Machine'.
13
Switching Between iOS Apps During a Test
Java
iOS
All Devices
Last updated on Apr 18, 2018
Sometimes being able to automate your app-under-test (AUT) is not enough. People don't have just one app on their phone, and oftentimes your app depends on actions taken in another app. How do you test multi-app flows like this? With Appium, of course!
12
Capturing Performance Data for Native iOS Apps
Java
iOS
All Devices
Last updated on Apr 11, 2018
App usability is about more than functionality: if the user experience isn't snappy enough, it can be a big problem. Performance testing and analysis is an important phase of testing. Thankfully, Appium can gather performance data during the course of your iOS tests.
11
Simulating SMS Messages on Android
Java
Android
Emulators
Last updated on Mar 28, 2018
Mobile apps have the possibility of integrating with the core communications functions of mobile devices. For example, they can send or respond to SMS messages. When testing with Appium it's possible to generate SMS messages that show up on Android Emulators, that can be used as part of an app verification flow.
10
Anatomy of Logging in Appium
All Languages
All Platforms
All Devices
Last updated on Mar 21, 2018
Running into problems with Appium can be a frustrating experience. Sometimes you just get a cryptic, unhelpful message as part of an error thrown in your client code. Where do you go next? The Appium logs! This is a guest post from Isaac Murchie on how to take advantage of reading the Appium logs to help understand what's going on and potentially resolve issues.
9
Testing Android App Upgrades
Java
Android
All Devices
Last updated on Mar 14, 2018
It's important to test that user data and user experiences are not broken due to changes between app version upgrades. Appium comes with some built-in app management commands that make it possible to test how your app behaves across versions, all within the context of one Appium session.
8
How to Find Elements in iOS (Not) By XPath
Java
iOS
All Devices
Last updated on Mar 7, 2018
If you've used Appium for any length of time, you've probably encountered the sad fact that, sometimes, xpath element queries are slow. In this newsletter, we explore why that is the case for iOS, and explore the various alternatives to XPath available to us, especially the little-known 'class chain' locator strategy.
7
Speeding Up Tests With Deep Links
Java
iOS and Android
All Devices
Last updated on Feb 23, 2018
Appium tests are full-UI functional tests. They can take a long time to run. It's a good idea to look for shortcuts so that your tests don't have to spend a ton of time setting up state, and can instead focus on just the bare minimum they need to validate. With a little work, you can accomplish this using deep links in both iOS and Android.
6
Testing iOS App Upgrades
Java
iOS
All Devices
Last updated on Feb 21, 2018
It's important to test that user data and user experiences are not broken due to changes between app version upgrades. Appium provides some helpful commands to test iOS app upgrades all within the context of one Appium session.
5
Performance Testing of Android Apps
Java
Android
All Devices
Last updated on Feb 14, 2018
Functional testing is not the only kind of testing that Appium supports. As a pure automation library, Appium can also be used in the service of performance testing. In this edition we take a look at an example of performance testing on Android, namely how to track memory usage over time and make assertions about it.
4
Using Appium for Testing Mobile Web Apps
Java
iOS and Android
All Devices
Last updated on Feb 7, 2018
Appium is not just for native apps. One of the great things about Appium is being able to test multiple app modes. You can even use Appium to run tests against regular old web applications on mobile devices.
3
Running arbitrary ADB commands via Appium
Java
Android
All Devices
Last updated on Jan 30, 2018
For a long time, it was not possible to run arbitrary ADB commands with Appium. Now it is! Here's how to remove the bumpers and get dangerous with ADB.
2
Seeding an Android device with test photos
Java
Android
All Devices
Last updated on Jan 24, 2018
In this edition we explore the Android equivalent to our previous tip: how to add your own photos to the device so they can be available to media apps.
1
Seeding the iOS simulator with test photos
Java
iOS
Simulator
Last updated on Apr 4, 2018
It's often necessary to automate the photo library of a device as part of testing a mobile app. But how do you ensure that photos you know about get there? In this edition, we walk through the methods required for doing this as part of your iOS app testing.