Over 90 recipes to help you build and run automated tests for your web applications with Selenium WebDriverAbout This BookLearn to leverage the power of Selenium WebDriver with simple examples that illustrate real-world problems and their workaroundsExplains the testing of mobile applications with Appium for mobile platforms such as iOS and AndroidA pragmatic manual with engaging recipes and attractive screenshots to test your web applications efficientlyWho This Book Is ForThis book is intended for software quality assurance/testing professionals, software project managers, or software developers with prior experience in using Selenium and Java to test web-based applications. This books also provides examples for C#, Python and Ruby users.What You Will LearnUnderstand how the locators work and use various locator methods to build reliable testsBuild reliable and maintainable tests with the Selenium WebDriver APIUse the PageFactory pattern to build a robust and easy to maintain test frameworkBuild data-driven tests and extend Selenium API to implement custom steps and checksIntegrate and use ATDD/BDD tools such as Cucumber, SpecFlow, Capybara, and Behave with the Selenium WebDriver APISet up iPhone/iPad and Android simulators and devices to test your mobile web application with AppiumSet up Selenium Grid for faster and parallel running of tests, increasing test coverage and reducing test execution time for cross-browser testingBuild extended Selenium WebDriver tests for additional coverageIn DetailThis book is an incremental guide that will help you learn and use the advanced features of the Selenium toolset including the WebDriver API in various situations to build a reliable test automation. You start off by setting up the test development environment and gain tips on the advanced locater strategy and the effective use of the Selenium WebDriver API.After that, the use of design patterns such as data - driven tests and PageFactory are demonstrated. You will then be familiarised with extending Selenium WebDriver API by implementing custom tasks and setting up your own distributed environment to run tests in parallel for cross-browser testing.Finally, we give you some tips on integrating Selenium WebDriver with other popular tools and testing mobile applications. By the end of this book, you will have learned enough to solve complex testing issues on your own.Style and approachThis recipe-based guide covers real-life scenarios of testing your web apps with Selenium. Each recipe begins with a short introduction and key concepts along with illustrated examples of use cases, and ends with detailed but informative descriptions of the inner workings of the example.
Author: Unmesh Gundecha