O'Reilly logo

Testing with F# by Mikael Lundin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Web-browser-based testing

When working with web-based interfaces, the best way to execute functional testing is to query the website and assert on the result HTML. There are some tools and methods to go about doing this, and we will now take a look at a few of them.

Before starting, it is worth discussing where this testing will take place. Before you can use a web client to functionally test a website, you need to deploy this website somewhere. You also need to set up the website with a predictable state so the test doesn't fail because an editor has moved around some content.

How to set up a web-based application is very targeted to the application. Often, you will base a new website on Content Management System (CMS), and this system has its ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required