Cargando…

Learning Selenium testing tools : leverage the power of Selenium to build to build your own real-time test cases from scratch /

If you are a software developer with a basic knowledge of testing and are interested in automated testing using Selenium, this is the book for you. No prior knowledge of Selenium is required.

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Prasad, M. G. Raghavendra (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2015.
Edición:Third edition.
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: Getting Started with Selenium IDE; Understanding Selenium IDE; Installing Selenium IDE; Getting acquainted with the Selenium IDE tool; Rules in creating tests with Selenium IDE; Recording your first test with Selenium IDE; Validating a test with assert and verify; Creating comments in your tests; Adding Selenium IDE comments; Multiplying windows; Working with multiple windows; Complex working with multiple windows; Selenium tests against AJAX applications.
  • Working on pages with AJAXWorking with AJAX applications; Storing information from the page in the test; Debugging tests; Creating test suites; Parameterization; Selenium IDE Configuration; Generating source code from Selenium IDE; Saving tests; What you cannot record; Summary; Self-test questions; Chapter 2: Locators; Locating elements by ID; Finding IDs of elements on the page with Firebug; Finding elements by ID; Moving elements on the page; Finding elements by name; Adding filters to the name; Finding elements by link text; Finding elements by accessing the DOM via JavaScript.
  • Finding elements by XPathUsing direct XPath in your test; Finding elements by direct XPath; Using XPath to find the nth element of a type; Using element attributes in XPath queries; Performing partial match on attribute content; Finding an element by the text it contains; Leveraging XPath axis with elements; Using the XPath axis; CSS selectors; Finding elements by CSS; Using child nodes to find the element; Using sibling nodes to find the element; Using CSS class attributes in CSS selectors; Using element IDs in CSS selectors; Working with elements and their attributes.
  • Finding elements by their attributesPerforming partial matches on attributes content; Finding the nth element with CSS; Finding an element by its inner text or partial text; Self-test questions; Summary; Chapter 3: Overview of Selenium WebDriver; History of Selenium; Understanding the WebDriver architecture; The WebDriver API; The WebDriver SPI; The JSON Wire Protocol; The Selenium server; Merging of two projects; Setting up IntelliJ IDEA project; Setting up Eclipse IDE with Java project for Selenium WebDriver and TestNG; Downloading WebDriver JAR files; Downloading and installing Eclipse.
  • Configuring WebDriver with EclipseTestNG plug-in installation for Eclipse; Steps for installation:; Summary; Self-test questions; Chapter 4: Finding Elements; Finding elements; Finding an element on the page by its ID; Using findElementById(); Finding elements on the page by their ID; Using findElementsById(); Finding an element on the page by its name; Using findElementByName(); Finding elements on the page by their name; Using findElementsByName(); Finding an element on the page by its ClassName; Using findElementByClassName(); Finding elements on the page by their ClassName.