Calabash Tutorial for Mobile App Testing

Dear Testdroiders,

Mobile test automation genre is constantly evolving and new frameworks have been appearing for every specific need. As we’ve been supporting  – and covering at our mobile app testing blog – all mainstream test automation frameworks here at Testdroid, we’ve learnt quite a lot about how different frameworks work for different types of mobile apps. Appium has been in tremendous growth, but there is no reason to forget Calabash. Both of them provide great foundation for cross-platform testing strategy and due to some concerns about Calabash and recent changes in the industry, we’d like to provide you a tutorial of best practices with Calabash, how to get started with it, how to combine Calabash approach across other frameworks, and some useful tips!

Read more

Appium Tip #22: How to Deploy Image Recognition in Your Appium Tests

Server-side vs. Client-Side Run with Appium
Server-side vs. Client-Side Run with Appium

This is the 22nd blog in our 37 Things You Should Know About Appium blog series and this time we’ll be focusing on how to use image recognition when testing mobile apps, games and even web sites. The image recognition has been lately one of the most prominent approach for enabling test automation for mobile apps and games that have graphics content or other content that regular test automation frameworks may not be able to identify with IDs, description or object characters.

Read more

Appium Tip #21: How to Get Tests Instantly Started (Without Queuing)

Server-side vs. Client-Side Run with Appium
Server-side vs. Client-Side Run with Appium

Just few years ago, the process of mobile test automation was too immature and the entire mobile ecosystem wasn’t ready to adopt large scale test automation setups for mobile app testing. Furthermore, test automation wasn’t necessarily seen as possible to be done across devices, simultaneously, and in parallel mode. Nowadays, things are whole lot different. Test automation, with frameworks like Appium, real devices, variety of different hardware and using network connections and real back-ends intensify testing of Android and iOS apps.

This is the 21st blog in our 37 Things Should Know About Appium – and we’ll go through a basic example of how to get Appium test started on available Android and/or iOS devices, just in seconds using device finder functionality.

Read more

Appium Tip #19: Explore How To Interact With Elements

Everything About Appium Test Automation
Everything About Appium Test Automation

In the previous blog we had a glance on to use different types of XPath locators in Appium and how those function calls work when building your test scripts. Today, we’re continuing with the same theme but this time we’ll focus more on Selenium WebElements and Appium MobileElements and how to use those to explore an ideal way to interact with UI elements. This is the 19th blog in our massive 37 Things You Should Know About Appium blog series. Also, I’d like to thank many of you for providing such a great feedback on our prior blogs.

Read more

Appium Tip #18: How To Use XPath Locators Efficiently

Bitbar Testing Example Using Testdroid
Bitbar Testing Example Using Testdroid

As we’ve been discussing here at Appium Weekly blog, there are various different ways and tricks to locate elements in a web page. Appium – based on Selenium foundation – provides excellent methods to locate elements by using a XPath function. And in fact, there are lots of different xpath methods you can use, by name, ID, link texts, partial link text, tags, class names and some others. This is the eighteenth blog in our 37 Things You Should Know About Appium – and now, let’s take a look at those different XPath tricks you might find useful.

Read more

Appium Tip #17: Finding UI Elements with Selendroid Back End

Everything About Appium Test Automation
Everything About Appium Test Automation

We’ll be continuing the topic we discussed on our last Appium blog post on finding UI elements and this is the 17th blog in our series of 37 Things You Should Know About Appium. This time we’ll be focusing on Selendroid and how UI element identification works with it. Just like Appium and uiautomator, Selendroid also comes with a useful inspector tool – Selendroid Inspector – which we will also take a look at in this post. And obviously, this applies only for Android.

Read more

Appium Tip #16: Finding Elements with Appium Automation Engine

Everything About Appium Test Automation
Everything About Appium Test Automation

It’s time to look how different elements can be found with Appium and what actually happens on the background when Appium does most of the work for you. This is the 16th tip in our 37 Things You Should Know About Appium and with the following blogs, I’ll be focusing more on Appium commands, how to use them effectively and what tricks may be involved. As always, I’ll provide some code examples for each and every (popular) programming language that are used with Appium.

Read more

Appium Tip #15: Breaking Off From Restrictions of Appium

Everything About Appium Test Automation
Everything About Appium Test Automation

This is the 15th blog in our 37 Things You Should Know About Appium blog series. There are certain limitations that each framework as well as programming language have, so this time around we’ll focus on how to break off from the limitations and how to use some conventional mechanisms during your test runs. For example ADB (Android Debugging Bridge) and how to use it in the context of Appium. Naturally, this is only available and usable with Android. More importantly, ADB is usable and actually very handy when used together with Appium and test runs on execution. This works well for testing native apps, but also with mobile games using image recognition. Furthermore, not only with Appium, but literally with any test automation framework you could use our image recognition method or dynamic scripting with real-time inspection of log data. Let’s dive deeper.

Read more

Appium Tip #14: 3 Tricks for Faster Appium Test Script Creation

Everything About Appium Test Automation
Everything About Appium Test Automation

This is our 14th blog in 37 Things You Should Know About Appium blog series. We’ve covered lots of basic things, such as setting up an Appium environment, using various programming languages and frameworks (Java, Python, C#, Ruby, JavaScript, Mocha), plus tools and additional utilities that makes your Appium use as smooth and easy as possible. Today, we’ll look some of the best practices, tips and tricks of how to create Appium scripts for your Android and/or iOS apps.

Read more

Appium Tip #13: Use Inspector or uiautomatorviewer for UI Element Inspection

Everything About Appium Test Automation
Everything About Appium Test Automation

This is the 13th tip in our 37 Things You Should Know About Appium blog series, and we’ll take a look what types of tools are used with Appium and what are the most important ones for you as well. Naturally, the right tools can be make your life so much easier and enable you to get the best out of test automation and Appium. For example, Appium Inspector and some other tools are very handy when identifying some visual elements in your app. These tools have their limitations so we’ll also discuss how to tackle those.

Read more