Reader small image

You're reading from  Mobile Test Automation with Appium

Product typeBook
Published inJun 2017
PublisherPackt
ISBN-139781787280168
Edition1st Edition
Tools
Right arrow
Author (1)
Nishant Verma
Nishant Verma
author image
Nishant Verma

Nishant Verma is a co-founder of TestVagrant Technologies. Its a service start-up addressing testing solutions for B2C companies with a focus on mobile and web, and helps companies deliver faster and reliably. Nishant has 11 years of experience in software development and testing. He has worked with IT companies such as ThoughtWorks Inc., Aditi Technologies, and Altisource. He has extensive experience in setting up agile testing practices, functional and non-functional test automation, mentoring, and coaching. In the past, he has worked on web UIs and specializes in building test solutions in the mobile domain. He has hands-on experience with test automation tools such as WebDriver (Selenium2), Calabash, Frank, Appium, Watin, Sikuli, QTP, and DeviceAnywhere. He actively maintains his own website on testing techniques, agile testing, automation techniques, and general learning. He has contributed to leading testing journals such as Testing Circus and Software Developer's Journal, and has been an active speaker at vodQA (testing event of Thoughtworks). Nishant has authored a reference book on how to use Appium for automating Android apps using Java, which is available on Gitbook. It has received close to 200,000 views, 40,000 readers online, and has been downloaded around 3,000 times.
Read more about Nishant Verma

Right arrow

Summary


In this chapter, we learned about the Page Object design pattern and how it can be used to give a structure to the code we have written. We also went through refactoring, understanding the design pattern and how it has significantly improved the code readability and makes the maintenance look easier. We learned about assertions and how they can be used. We also learned about where assertion belongs and the pros and cons of each approach. We discussed some framework design principles of avoiding the dependent test designs and the importance of hooks, such as @Before and @After, provided by cucumber.

Now we have a decent framework in structure and the tests are a little mature with the design pattern in place. The next step is to be able to run the test on different targets, such as an emulator and an actual device, understand the hassles around it, and solve them.

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Mobile Test Automation with Appium
Published in: Jun 2017Publisher: PacktISBN-13: 9781787280168

Author (1)

author image
Nishant Verma

Nishant Verma is a co-founder of TestVagrant Technologies. Its a service start-up addressing testing solutions for B2C companies with a focus on mobile and web, and helps companies deliver faster and reliably. Nishant has 11 years of experience in software development and testing. He has worked with IT companies such as ThoughtWorks Inc., Aditi Technologies, and Altisource. He has extensive experience in setting up agile testing practices, functional and non-functional test automation, mentoring, and coaching. In the past, he has worked on web UIs and specializes in building test solutions in the mobile domain. He has hands-on experience with test automation tools such as WebDriver (Selenium2), Calabash, Frank, Appium, Watin, Sikuli, QTP, and DeviceAnywhere. He actively maintains his own website on testing techniques, agile testing, automation techniques, and general learning. He has contributed to leading testing journals such as Testing Circus and Software Developer's Journal, and has been an active speaker at vodQA (testing event of Thoughtworks). Nishant has authored a reference book on how to use Appium for automating Android apps using Java, which is available on Gitbook. It has received close to 200,000 views, 40,000 readers online, and has been downloaded around 3,000 times.
Read more about Nishant Verma