Book Image

Selenium 1.0 Testing Tools: Beginner's Guide

By : David Burns
Book Image

Selenium 1.0 Testing Tools: Beginner's Guide

By: David Burns

Overview of this book

<p>Selenium is a suite of tools to automate web application testing across many platforms. A strong understanding of using Selenium will get you developing tests to ensure the quality of your applications.</p> <p>This book helps you understand and use Selenium to create tests and make sure that what your user expects to do can be done. It will guide you to successfully implement Selenium tests to ensure the quality of your applications.</p> <p>The Selenium Testing Tools Beginner’s guide shows developers and testers how to create automated tests using a browser. You'll be able to create tests using Selenium IDE, Selenium Remote Control and Selenium 2 as well. A chapter is completely dedicated to Selenium 2. We will then see how our tests use element locators such as css, xpath, DOM to find elements on the page.</p> <p>Once all the tests have been created we will have a look at how we can speed up the execution of our tests using Selenium Grid.</p>
Table of Contents (18 chapters)
Selenium 1.0 Testing Tools Beginner's Guide
Credits
About the Author
About the Reviewers
Preface
Index

Important preliminary points


Some of the topics covered in this chapter do not work on 64-Bit Windows. This is not due to Selenium but due to the frameworks that we will be using. It may be beneficial to have an Ubuntu virtual machine ready as a number of the steps can be simplified for that operating system. I will mention when this is needed at the beginning of that section.

Cookie handling

Cookies are a common way to store data between pages, so that as a developer, we do not need to know what is happening on the server other than loading the page. This means that as the person writing the test, we need to know how cookies are handled. For example, doing a negative test by deleting a cookie half-way through the test to validate whether the user loses any information that was stored on the cookie, but that doesn't lock up the browser. Another example is to test that an e-commerce web page is storing the items in a cookie and we need to validate that the items are stored when a new page has...