Gaurav will be presenting the following session
filter_list help_outline
  • Gaurav Singh

    Gaurav Singh - How to kill test flake in Appium?

    Gaurav Singh
    Gaurav Singh
    Test automation Lead
    schedule 2 years ago
    Sold Out!
    45 Mins

    Whether you are a beginner learning the ways of writing UI automated tests or an experienced practitioner, you must have faced the below situation:

    You write a test and it works perfectly in your local, happily you promote the tests to your CI environment and surely it passes initially, however after sometime the test starts failing sporadically. This phenomenon is described as Test flakiness and it’s a bummer for any engineer worth his salt. This can cause numerable side effects and doubts into the minds of software teams not trusting UI automation.

    However all hope is not lost. We all know a Tool is only as good as its master.

    In this talk, I will cover the measures or patterns which you can implement to reduce the flakiness in your Appium tests as much as "humanly" possible and increase their speed and reliability.

1. What got you started/interested in Testing?

During my college days, I wanted to be a developer and as luck would have had it my first company allocated testing as a skill to me. After starting, I immediately fell in love with the craft. Initially the thrill of finding issues in other people's code and application was a rush and then as i progressed i realised testing is much more than just checking things on the UI. It has multiple aspects and can touch/impact all areas of software development. I got hooked and i still am even today. 

2. What has been your best moment/highlight working with Appium?

Implementing UI tests for android for my current company which work seamlessly with cucumber was something that i really liked. It is quite challenging to get UI automation right and i am glad it worked out quite well for us.

3. What do you think is the biggest challenge faced by Mobile Testers today?

Writing reliable and sensible UI automation. Any one can start and come up with a basic framework however to write something that scales really well across applications and people is a craft in itself. Also the explosion and fast paced development of devices/vendor OS and ecosystem means the mobile tester needs to ever updated with the latest and greatest and use the best tools at his disposal. Choosing what works can be quite tough.

4. What is your advice to testers, who are new to automation?

Firstly Don't be scared of programming languages. Start small and pick up one language and start to get your hands dirty (Python is a great one to start with IMHO). Write a framework although basic in nature. Keep on improving it everyday. Also do not just focus on UI testing/automation, try and get at all the layers of the testing pyramid (api/integration/performance). You can also listen to podcasts and read books about testing and automation to stay in touch with the community and learn.  

5. Tell us about the session/s you will be presenting at the conference and why did you choose those topics?

I would be speaking on "How to kill test flake in appium". This was largely inspired by Jonathan lipps posts on appium pro. I want to raise awareness that a tool is really as good as the person behind it and sometimes or in many cases we can improve how we implement appium for our automation to reduce flaky tests in our suite.

6. What are some of the key takeaways from your session/s?

By the end of this talk, You as a test automation engineer would be able to have a broad understand of what are the different factors which cause tests to be flaky and identify approaches which you can try to improve your tests reliability

1. Understand waits and locators pitfalls
2. Understand cross platform or specific implementations for android/IOS to improve speed and reliability
3. Basics of debugging and log analysis to arrive at root cause of problems

7. Which are your favourite sessions at Appium Conf? (Sessions that you are looking forward to attend)

I am looking forward to hearing Jonathan, Angie jones and Jason huggins talks. I really admire them and this conference would be a great opportunity to gain some wisdom from them.

However there are so many good talks this year and it's really hard to choose from. 

8. Any personal message/remarks you want to share with the Testing community in India?

Don't miss the chance to hear and be part of really well put conference. I am sure you would become aware of lot of things in mobile automation space in this years appium conf.


Feel free to walk up to me and chat on how you are implementing/improving testing practices in your companies. I would love to talk to you and learn from you!