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

    Gaurav Singh - How to build an automation framework with Selenium : Patterns and practices

    Gaurav Singh
    Gaurav Singh
    Test automation Lead
    Gojek
    schedule 1 year ago
    Sold Out!
    45 Mins
    Talk
    Beginner

    With an ever increasing no of businesses being conducted on web the testing need to write automated tests for the app's UI is something that can never be ignored. As you all know Selenium provides an API that enables us to do this quite effectively.

    However, when tasked with setting up the automation framework, there are a lot of questions that arise in the minds of aspiring test developers regardless of what level they are in their career.


    Some of such questions are:

    1. How does one actually go about the business of building a robust and effective automation framework on top of selenium?
    2. What are the elementary building blocks to include in the framework that an aspiring automation developer should know of?
    3. How should we model our tests? XUnit style vs BDD?
    4. Are there good practices, sensible design patterns and abstractions that we can follow in our code?
    5. What are some of the anti patterns/common mistakes we should avoid

    A lot of literature, documentation and blogs exists on these topics on the web already.

    However In this talk,

    I would combine this existing knowledge and my years of experience in building automation frameworks and breakdown these elements and walk you through exactly the sort of decisions/considerations and practices that you can take while starting to implement or improve the UI automation for your team.

    Hope to see you there!

1. What got you started/interested in Testing?

After graduating from college, I joined a company where I was allocated Testing as a skill. Initially, like most college kids, I too wanted the shiny developer role. But as a couple of years went by, I found I really liked and enjoyed testing and automating stuff and it was challenging. As a tester, not only do you get a chance to see the bigger picture and impact product quality at different levels from product spec to feature delivery but also code shiny new tools/scripts for engineers. What's not to like?

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

Learning and implementing a framework from scratch in python in a couple of weeks when I was even new to UI automation and seeing it run seamlessly on a local selenium grid. It was really amazing to see how simple it was to get started.

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

Well, there are a few IMHO:

  • How to keep up with the rapid pace of software development?
  • How to reimagine your role as more of a test coach that gets the whole team excited about software testing and automation rather than a person who provides testing services?
  • Writing smarter automation frameworks and tools that scale well

Do I have the answers to all of these? Well no, I have some thoughts but I would like to hear your thoughts on these. Lets catch up.

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

I have a few, even wrote a blog post on it. Check it out if you have some free time

A couple of key pointers:

  • Master 1 programming language first, then learn another (be a polyglot)
  • Follow key leaders in the testing and automation industry and learn from them (their blogs, courses, books)
  • If possible, listen to podcasts, watch talks at conferences, and write blogs. 
  • Finally, take good notes so that you always have a reference to how you've already solved a problem and if you are anything like me, to not forget
5. Tell us about the session(s) you will be presenting at the conference and why did you choose those topics?

Over the years, I have worked and seen different framework implementations. After learning selenium's API, you are equipped to write a UI test but it might not always be an optimal or scalable approach.

In this talk, I wanted to share my experience and understanding of what are some of these sensible framework design practices and patterns that you can follow to improve your automation and hopefully reduce further on maintenance headache.

Please read the CFP here. to see all the finer points we will cover.

 

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

You should hopefully leave with the following takeaways:

  1. Understand the broad considerations you should take while starting/improving a UI automation framework
  2. Understand good framework development practices/design patterns to use and be aware of the anti-patterns to avoid
  3. Know about the common tools/libs available to implement these concepts/blocks in
7. Which sessions are you most looking forward to attending at Selenium Conf?

So many exciting sessions to choose from.

Here are a few talks that I am looking forward to among many others

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

Firstly, If you can, do attend Selenium Conf 2020, There are so many experienced speakers to listen to and learn from. Its gonna be fun. Secondly, Do come and say hi

help