Название: Automatic Operation of Browser using Selenium and Python Автор: Takahiro Kurose Издательство: Amazon Digital Services LLC ASIN: B07CLVJJ2J Год: 2018 Страниц: 187 Язык: английский Формат: epub Размер: 10.15 MB
As the size of program grows it becomes more difficult to understand the code. Therefore, it is also more likely to accidentally embed bugs when changing code. Ideally, it is desirable to test all existing functions each time we change source code, but it is not easy to test all existing functions frequently as testing takes time and cost. Therefore, it is necessary to consider automated testing. There are many advantages to test automation. Most are related to the repeatability of the tests and the speed at which the tests can be executed. There are a number of commercial and open source tools available for assisting with the development of test automation.
One of test automation tools is Selenium. It is widely used around the world as a tool for automating test for web application. In this book we use Selenium WebDriver to perform automatic operation of the browser. As for browser we use both Mozilla Firefox and Google Chrome.
Selenium is a very useful tool but it is not an easy tool which lets us use it as soon as we learn it. Practice is necessary but it is not desirable to use the real website running in the internet for practice.
Therefore, in this book we will prepare two sites, demo site and WordPress site for Selenium practice. Those sites are constructed on virtual machine on Windows PC and we perform automatic operation using Selenium WebDriver for those sites. Those are our own environment so we can practice Selenium as much as we want. I hope you enjoy Selenium life.
Who this book is for: This book is for those who are experienced in programming Python and are interested in automated testing of web application.
Since this book uses Linux (Ubuntu) as a working environment, if you don't have Linux development experience, it would be better for you to read this book after understanding Basic Linux Commands.
Version of softwares used in this book Ubuntu 16.04.4 LTS (Installation using ubuntu-16.04.4-desktop-amd64.iso)
Mozilla Firefox 59.0.1 (Ubuntu undate is necessary) Mozilla GeckoDriver 0.20.0
Google Chrome 65.0.3325.181 Google Chrome Driver 2.36
WordPress 4.9.4 WooCommerce 3.3.4 WooCommerce For Japan 1.2.19
Python 2.7.12 Selenium Client 3.11.0
Скачать Automatic Operation of Browser using Selenium and Python
|