Shipping High Quality Mobile Apps

I want to share a story about a recent career transition I made – moving from program management to quality engineering . I was very nervous about the change since I wasn’t 100% sure whether the decision I made was the right one. There was a huge opportunity on the table to deliver more value to our fans more often. The risk of course was that quality would slip.

Read on to hear how we became featured in the Google Play Store and in Android Central as “AC editors’ Apps of the Week”!

Joining the Android Team

As I joined the passionate team of Android Engineers I knew it was a new beginning of something great and challenging for all of us. As a team we quickly built a strong app foundation and developed a culture of teamwork and support for one another. Our fundamental rule was: check your ego at the door! Everyone on the team supported each other like family. We had a few goals in mind:

  • Reduce Regression time from 2-3 weeks to 8 hrs
  • Build once and ship everywhere
  • Ship high quality software together

In this post, I want to share my personal experience as well as how my team was able to set up our automation framework.

Why Automation?

It all started with a few automation training sessions with our Quality Architect – Eric Lee – in a small conference room on the 2nd floor of our building. As I remember the room was packed with eager QA engineers wanting to learn about making automation work for our mobile apps. Eric demoed sample tests that navigated through a few pages of our app utilizing Cucumber, Appium and Java. When we came out of the training session we realized how we could utilize type of tests to help us meet our main goal “Reduce regression time from 2-3 weeks to 8 hrs”.

Regression test
One of our regression tests

We used our 10% time to setup a small device lab. We started with one device since we came across some challenges running the Ticketmaster Android app across multiple devices due to our Appium configuration. We made an update to our configuration assigning each instance of Appium a unique port as well as assigning a unique port to each of the devices.

Config Changes
Screen Shot 2015-10-23 at 12.06.12 PM

After making these changes, we’re able to execute our test suite across four different devices simultaneously. Our regression tests run overnight and detect any ongoing problems while development is in progress. The team gets a detailed report of what failed in our automation tests bringing everyone aware of any issues that may have been introduced during development. This helps our team bring focus on critical release regressions and allows us to collaborate with one another to come up with the highest quality app.

Android Build pipeline

Automation report

In 2014 having no automation coverage we released our apps only 4 times. On the other hand, this year we have published more than 19 versions of our TM app to the market place. What a difference a year makes! To date, our automation coverage is up to 63% focusing on our critical path of our app. We are still not done and continuing to add more features into our automation suite to get us closer to our goal in reducing our regression time to 8 hrs. With automation in place, we are equipped to have more frequent releases to the marketplace bringing key features to our fans quicker.

Detailed automation report

Next up for the android team is to publish our newly designed app across all international markets. This will give our team a more maintainable code base supporting all regions. As you can imagine, our automation is critical to supporting more markets. The ability to run the same tests across the different binaries for each region and get detailed test reports for very little additional effort is invaluable. Our monthly releases going forward will support a total of 5 markets – build once and ship everywhere!

Culture Change

Shipping High Quality Mobile Apps – Our Android team has the “do it and let’s do it together” attitude that makes me want to come to work every day. During the past few months, our android team have made significant improvements to how we managed our releases and our sprint schedules. With our project and product manager’s help organizing our stories, our grooming sessions have become more engaging and interactive. That helps our team bring focus to the features that we will be developing. Our demos and retrospectives have improved as well – our engineers showcase their work to the stakeholders and other teams, giving each engineer ownership of the work they completed. One of our stakeholders stated this after one of our demos:

“This is a TEAM!

Well done guys. Your pride shows in your work, and it also showed in the demos you gave at the last showcase. I am inspired and impressed. You have improved over the past couple of months, and that shows in this latest release of your app.”

Our quality and software engineers are very passionate about delivering the highest quality features to our fans. For each and every submission and release, the team’s ownership and responsibility is second to none. Whether it’s looking at the reviews on the Google Play store, our crash-free rate, daily active users – the team has great pride and commitment to deliver a high quality app.

Being featured on Google Play Store and Android Central as “AC editors’ Apps of the Week” was a great achievement thanks to the hard work and dedication of the team. We’re continuing to make changes every day to help our team be more efficient. A great example of this is our recent decision to include an app release within each sprint, inclusive of the sprint’s work (as opposed to releasing in the subsequent sprint). Our Android team has become like a family. We enjoy working with each other and we build software in a cohesive way. We are a dedicated team and committed to a mission to be better each day when we come to work at Ticketmaster.






Ticketmaster and Button: A Mobile Commerce Experience

Ticketmaster is hard at work creating world-class mobile consumer experiences, but even when you are a major player in ticketing, finding engaged audiences with intent is always a challenge. We need to continually be there for our fans while they are in the process of exploring the things they love – bands, sports teams, theater – in best-of-breed publishers, and find a way to seamlessly deliver them into our apps. Apps that are iterating at what feels like warp speed.

In the last year alone, we have released 11 versions of our iOS app. During this time we have delivered: a Universal version (iPad compatibility), In-Venue Seat Upgrades, ApplePay, Search Suggest, iCloud Account Sync, Seat/Section Preview, Sign-In after Offering, Accepting Transferred Tickets, Camera-Scanning Credit Cards, and iOS9 App-Content Searching.

As a global market leader and incumbent in the space, we are continually finding better ways to iterate, test and evolve more quickly. This doesn’t always mean developing technology in-house. We frequently test and implement exciting new ideas in the marketplace through third-parties. Through one partnership with Button, we get access to many other companies that are philosophically aligned with our own customer acquisition goals.

Fans use a variety of mobile apps to consume content like music, videos, news, or sports scores and stats. Most apps focus on a particular form of media, like music streaming, or a particular group of fans, like hockey fans. This leads to a fragmented mobile commerce marketplace, that is something we’re constantly thinking about and developing for. For example: How do we enable discovery of related content across many disparate apps?

Button provides a deep-linking connective tissue between these disparate apps.In fact, Button’s integration techniques are actually quite straightforward and easy to use. This is how it works:

Let’s say we have a Great Music App that provides some amazing music streaming services. That app may want to offer users a button that links to more content by a band. The content could be videos, news, or in our case: concert tickets. In the app, this “button” can be created using the Button SDK. This is a subclass of UIControl which includes some code that creates a deep link into an external app. Button will also provide an Affiliate ID to make sure this app gets credit for any purchases made due to the link.

There is a little bit of a tricky part here: First, we need some kind of common name or ID for the artist to make sure we land the user in the right place in the linked app. Second, depending on whether the linked app is installed or not, your button could open a link to the Apple AppStore or a deep-link directly into the external app.

The deep link opens the Ticketmaster app directly onto a page listing upcoming concerts by the specified artist. If the user then purchases tickets, the Order ID and Amount are sent to Button along with the original app’s Affiliate ID. It’s convenient for us and secure for the fan.

Music App Example:


From the linked-app side, everything is very simple. The app only needs to handle two events:

  1. App has opened with a deep-link and an affiliate ID
  2. User has placed an Order (bought tickets)

We handle the app opening in the appDelegate. All we really need to do here is store the Affiliate ID for later. The Button SDK can help here:


Next, when a purchase is completed, we look to see if we have a stored Affiliate ID and send it to Button along with the Order Number and Price. The Button SDK handles this for us as well:


So two lines of code and done!


Now, given how simple these operations are, you might question the need for the Button SDK at all. Button has already thought of this and also provided a simple network API that your app can call directly to get everything you need. The API is a little more code, but allows the transparency and flexibility needed to make sure Button integrates perfectly with your existing security and coding standards.

I feel like Button could do a little more to solve that tricky business I mentioned earlier in the originating app, but for the linked app, their implementation couldn’t be simpler.

Button has provided an amazing first step to solving the big problem of linking content across the diversity of media-rich apps found on mobile devices today and in the future. The future of the mobile commerce marketplace – better for the developer and better for the fan.