Ynobbmvz3r7jqxcpf9jh
SkillsCast

Behaviour Driven Web UI Automation with Selenium and SpecFlow

2nd June 2016 in London at CodeNode

This SkillsCast was filmed at London Tester Gathering Workshops 2016

This session was not filmed.

BDD is a method that focuses on defining the requirements based on the expected behavior; DDD is a method that uses a ubiquitous language all across the solution; UX helps design user interactions based on user behaviour… and Selenium WebDriver (or similar) is a tool that is mostly used to ignore all these and automate the app using clicks on HTML elements… In this workshop you can explore options how to improve testing efficiency by looking at UI automation from a different angle by analyzing and understanding the UI concepts used in the application, matching them to domain model elements and build an automation solution that focuses on these.

The workshop is based on hands-on exercises and discussions, where we automate different parts of an ASP.NET MVC web application, with Selenium WebDriver and SpecFlow, but the same concepts work with Java or any other platform too. Through the exercises we try to find answers to questions like:

  • What is beyond page object pattern?

  • What are the UI concepts and why are they important?

  • How can you express web automation with domain model terms?

  • How can such test fit into a BDD-DDD process?

  • How can you address asynchronous issues?

  • Is it possible to do test-first with web UI automation?

  • What other benefits can be given to us by such a test system?

REQUIREMENTS

The presentation and the coding examples will use .NET, SpecFlow and the .NET implementation of Selenium. For these you will require Visual Studio 2013 or 2015. Visual Studio 2015 Community edition is free and prefect for attending the workshop. For Mac users, a Windows VM is recommended, but I'll make sure the examples work on Mono too. You will need at least basic knowledge of C# and a bit of Selenium WebDriver experience. It is also enough if you find a partner who has all these.

YOU MAY ALSO LIKE:

Thanks to our sponsors

Behaviour Driven Web UI Automation with Selenium and SpecFlow

SkillsCast

This session was not filmed.

BDD is a method that focuses on defining the requirements based on the expected behavior; DDD is a method that uses a ubiquitous language all across the solution; UX helps design user interactions based on user behaviour… and Selenium WebDriver (or similar) is a tool that is mostly used to ignore all these and automate the app using clicks on HTML elements… In this workshop you can explore options how to improve testing efficiency by looking at UI automation from a different angle by analyzing and understanding the UI concepts used in the application, matching them to domain model elements and build an automation solution that focuses on these.

The workshop is based on hands-on exercises and discussions, where we automate different parts of an ASP.NET MVC web application, with Selenium WebDriver and SpecFlow, but the same concepts work with Java or any other platform too. Through the exercises we try to find answers to questions like:

  • What is beyond page object pattern?

  • What are the UI concepts and why are they important?

  • How can you express web automation with domain model terms?

  • How can such test fit into a BDD-DDD process?

  • How can you address asynchronous issues?

  • Is it possible to do test-first with web UI automation?

  • What other benefits can be given to us by such a test system?

REQUIREMENTS

The presentation and the coding examples will use .NET, SpecFlow and the .NET implementation of Selenium. For these you will require Visual Studio 2013 or 2015. Visual Studio 2015 Community edition is free and prefect for attending the workshop. For Mac users, a Windows VM is recommended, but I'll make sure the examples work on Mono too. You will need at least basic knowledge of C# and a bit of Selenium WebDriver experience. It is also enough if you find a partner who has all these.

YOU MAY ALSO LIKE:

Thanks to our sponsors

About the Speaker

Behaviour Driven Web UI Automation with Selenium and SpecFlow

Photos