Cargando…

Selenium Testing Tools Cookbook /

In Detail Web technologies are becoming increasingly complex and there is a need to test your web applications against a vast number of browsers and platforms, so you need to build highly reliable and maintainable test automation. This book will help you test your web applications effectively and ef...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Gundecha, Unmesh
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Pub., 2012.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo
Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1:Locating Elements; Introduction; Using browser tools for inspecting elements and page structure; Locating an element using the findElement method; Locating elements using findElements method; Locating links; Locating elements by tag name; Locating elements using CSS selectors; Locating elements using XPath; Locating elements using text; Locating elements using advanced CSS selectors; Using jQuery selectors; Locating table rows and cells; Locating child elements in a table.
  • Chapter 2:Working with Selenium APIIntroduction; Checking an element's text; Checking an element's attribute values; Checking an element's CSS values; Using Advanced User Interactions API for mouse and keyboard events; Performing double-click on an element; Performing drag-and-drop operations; Executing JavaScript code; Capturing screenshots with Selenium WebDriver; Capturing screenshots with RemoteWebDriver/Grid; Maximizing the browser window; Automating dropdowns and lists; Checking options in dropdowns and lists; Checking selected options in dropdowns and lists.
  • Automating radio buttons and radio groupsAutomating checkboxes; Controlling Windows processes; Reading a Windows registry value from Selenium WebDriver; Modifying a Windows registry value from Selenium WebDriver; Chapter 3:Controlling the Test Flow; Introduction; Synchronizing a test with an implicit wait; Synchronizing a test with an explicit wait; Synchronizing a test with custom-expected conditions; Checking an element's presence; Checking an element's status; Identifying and handling a pop-up window by its name; Identifying and handling a pop-up window by its title.
  • Identifying and handling a pop-up window by its contentHandling a simple JavaScript alert; Handling a confirm box alert; Handling a prompt box alert; Identifying and handling frames; Identifying and handling frames by their content; Working with IFRAME; Chapter 4:Data-driven Testing; Introduction; Creating a data-driven test using JUnit; Creating a data-driven test using TestNG; Reading test data from a CSV file using JUnit; Reading test data from an Excel file using JUnit and Apache POI; Reading test data from a database using JUnit and JDBC; Creating a data-driven test in NUnit.
  • Creating a data-driven test in MSTESTCreating a data-driven test in Ruby using Roo; Creating a data-driven test in Python; Chapter 5:Using the Page Object Model; Introduction; Using the PageFactory class for exposing elements from a page; Using the PageFactory class for exposing an operation on a page; Using the LoadableComponent class; Implementing nested Page Object instances; Implementing the Page Object model in .NET; Implementing the Page Object model in Python; Implementing the Page Object model in Ruby by using the page-object gem; Chapter 6:Extending Selenium; Introduction.