Learn Selenium: Build data-driven test frameworks for mobile and web applications with Selenium Web Driver 3

June 13, 2021
Learn Selenium: Build data-driven test frameworks for mobile and web applications with Selenium Web Driver 3

Learn end-to-end automation testing techniques for web andmobile browsers using Selenium WebDriver, AppiumDriver, Java, andTestNGKey FeaturesExplore the Selenium grid architecture and build your own gridfor browser and mobile devicesUse ExtentReports for processing results and SauceLabs forcloud-based test servicesUnlock the full potential of Selenium to test your webapplications.Book DescriptionSelenium WebDriver 3.x is an open source API for testing bothbrowser and mobile applications. With the help of this book, youcan build a solid foundation and can easily perform end-to-endtesting on web and mobile browsers.You'll begin by being introducedto the Selenium Page Object Model for software development. You'llarchitect your own framework with a scalable driver class, Javautility classes, and support for third-party tools and plugins.You'll design and build a Selenium grid from scratch to enable theframework to scale and support different browsers, mobile devices,and platforms.You'll strategize and handle a rich web UI using theadvanced WebDriver API and learn techniques to handle real-timechallenges in WebDriver. You'll perform different types of testing,such as cross-browser testing, load testing, and mobile testing.Finally, you will also be introduced to data-driven testing, usingTestNG to create your own automation framework.By the end of thisLearning Path, you'll be able to design your own automation testingframework and perform data-driven testing with SeleniumWebDriver.This Learning Path includes content from the following Packtproducts:Selenium WebDriver 3 Practical Guide - Second Edition by UnmeshGundechaSelenium Framework Design in Data-Driven Testing by CarlCocchiaroWhat you will learnUse different mobile and desktop browser platforms withSelenium 3Use the Actions API for performing various keyboard and mouseactionsDesign the Selenium Driver Class for local, remote, andthird-party grid supportBuild page object classes with the Selenium Page ObjectModelDevelop data-driven test classes using the TestNGframeworkEncapsulate data using the JSON protocolBuild a Selenium Grid for RemoteWebDriver testingBuild and use utility classes in synchronization, file I/O,reporting and test listener classesWho this book is forThis Learning Path is ideal for software qualityassurance/testing professionals, software project managers, orsoftware developers interested in using Selenium for testing theirapplications. Professionals responsible for designing and buildingenterprise-based testing frameworks will also find this LearningPath useful. Prior programming experience in Java are TestNG isnecessary.Table of ContentsIntroducing Web Driver and Web ElementsUsing Java 8 Features with SeleniumExploring the Features of WebDriverExploring Advanced Interactions of WebDriverUnderstanding WebDriver EventsExploring RemoteWebDriverSetting up Selenium GridData-Driven Testing with TestNGBuilding a Scalable Selenium Test Driver Class for Web andMobile ApplicationsSelenium Framework Utility ClassesBest Practices for Building Selenium Page Object ClassesDefining WebDriver and AppiumDriver Page Object ElementsBuilding a JSON Data ProviderDeveloping Data-Driven Test ClassesEncapsulating Data in Data-Driven TestingDesigning a Selenium GridThird-Party Tools and PluginsWorking Selenium WebDriver Framework Samples