How to Write Test Cases for Web Applications: A Step-by-Step Example