Amazon cover image
Image from Amazon.com

Selenium testing tools cookbook : over 90 recipes to help you build and run automated tests for your web applications with Selenium WebDriver / Unmesh Gundecha.

By: Material type: TextTextSeries: Quick answers to common problemsPublisher: Birmingham, UK : Packt Publishing, 2015Edition: Second editionDescription: 1 online resource (1 volume) : illustrationsContent type:
  • text
Media type:
  • computer
Carrier type:
  • online resource
ISBN:
  • 9781784390778
  • 1784390771
Subject(s): Genre/Form: Additional physical formats: Erscheint auch als:: Gundecha, Unmesh. Selenium Testing Tools Cookbook - Second EditionDDC classification:
  • 005.3 23
LOC classification:
  • QA76.76.A65
Online resources:
Contents:
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started; Introduction; Configuring the Selenium WebDriver test development environment for Java with Eclipse and Maven; Using Ant for Selenium WebDriver test execution; Configuring Microsoft Visual Studio for Selenium WebDriver test development; Configuring Selenium WebDriver for Python and Ruby; Setting up Internet Explorer Driver Server; Setting up ChromeDriver for Google Chrome; Setting up Microsoft WebDriver for Microsoft Edge; Chapter 2: Finding Elements
IntroductionUsing browser tools for inspecting elements and page structure; Finding an element using the findElement method; Finding elements using the findElements method; Finding links; Finding elements by tag name; Finding elements using XPath; Finding elements using CSS selectors; Locating elements using text; Finding elements using advanced CSS selectors; Using jQuery selectors; Chapter 3: Working with Elements; Introduction; Automating textboxes, text areas, and buttons; Checking an element's text; Checking an element's attribute and CSS values; Automating dropdowns and lists
Checking options in the Select elementChecking selected options in dropdowns and lists; Automating radio buttons and radio groups; Automating checkboxes; Working with WebTables; Chapter 4: Working with Selenium API; Introduction; Checking an element's presence; Checking an element's state; Using Advanced User Interactions API for mouse and keyboard events; Performing double-click on an element; Performing drag-and-drop operations; Working with context menus; Executing JavaScript code; Capturing screenshots with Selenium WebDriver; Maximizing the browser window; Handling session cookies
Working with browser navigationWorking with WebDriver events; Chapter 5: Synchronizing Tests; Introduction; Synchronizing a test with an implicit wait; Synchronizing a test with an explicit wait; Synchronizing a test with custom-expected conditions; Synchronizing a test with FluentWait; Chapter 6: Working with Alerts, Frames, and Windows; Introduction; Handling a simple JavaScript alert box; Handling a confirm and prompt alert box; Identifying and handling frames; Working with IFRAME; Identifying and handling a child window; Identifying and handling a window by its title
Identifying and handling a pop-up window by its contentChapter 7: 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; Creating a data-driven test in NUnit; Creating a data-driven test in MSTEST; Creating a data-driven test in Ruby using Roo; Creating a data-driven test in Python using DDT; Chapter 8: Using the Page Object Model; Introduction; Using the PageFactory class for exposing the elements on a page
Summary: Over 90 recipes to help you build and run automated tests for your web applications with Selenium WebDriver About This Book Learn to leverage the power of Selenium WebDriver with simple examples that illustrate real-world problems and their workarounds Explains the testing of mobile applications with Appium for mobile platforms such as iOS and Android A pragmatic manual with engaging recipes and attractive screenshots to test your web applications efficiently Who This Book Is For This 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 Learn Understand how the locators work and use various locator methods to build reliable tests Build reliable and maintainable tests with the Selenium WebDriver API Use the PageFactory pattern to build a robust and easy to maintain test framework Build data-driven tests and extend Selenium API to implement custom steps and checks Integrate and use ATDD/BDD tools such as Cucumber, SpecFlow, Capybara, and Behave with the Selenium WebDriver API Set up iPhone/iPad and Android simulators and devices to test your mobile web application with Appium Set up Selenium Grid for faster and parallel running of tests, increasing test coverage and reducing test execution time for cross-browser testing Build extended Selenium WebDriver tests for additional coverage In Detail This 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 approach This recipe-based guide covers real-life scenar...
Item type:
Tags from this library: No tags from this library for this title. Log in to add tags.
Star ratings
    Average rating: 0.0 (0 votes)
Holdings
Item type Home library Collection Call number Materials specified Status Date due Barcode
Electronic-Books Electronic-Books OPJGU Sonepat- Campus E-Books EBSCO Available

Online resource; title from cover page (Safari, viewed December 10, 2015).

Includes index.

Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started; Introduction; Configuring the Selenium WebDriver test development environment for Java with Eclipse and Maven; Using Ant for Selenium WebDriver test execution; Configuring Microsoft Visual Studio for Selenium WebDriver test development; Configuring Selenium WebDriver for Python and Ruby; Setting up Internet Explorer Driver Server; Setting up ChromeDriver for Google Chrome; Setting up Microsoft WebDriver for Microsoft Edge; Chapter 2: Finding Elements

IntroductionUsing browser tools for inspecting elements and page structure; Finding an element using the findElement method; Finding elements using the findElements method; Finding links; Finding elements by tag name; Finding elements using XPath; Finding elements using CSS selectors; Locating elements using text; Finding elements using advanced CSS selectors; Using jQuery selectors; Chapter 3: Working with Elements; Introduction; Automating textboxes, text areas, and buttons; Checking an element's text; Checking an element's attribute and CSS values; Automating dropdowns and lists

Checking options in the Select elementChecking selected options in dropdowns and lists; Automating radio buttons and radio groups; Automating checkboxes; Working with WebTables; Chapter 4: Working with Selenium API; Introduction; Checking an element's presence; Checking an element's state; Using Advanced User Interactions API for mouse and keyboard events; Performing double-click on an element; Performing drag-and-drop operations; Working with context menus; Executing JavaScript code; Capturing screenshots with Selenium WebDriver; Maximizing the browser window; Handling session cookies

Working with browser navigationWorking with WebDriver events; Chapter 5: Synchronizing Tests; Introduction; Synchronizing a test with an implicit wait; Synchronizing a test with an explicit wait; Synchronizing a test with custom-expected conditions; Synchronizing a test with FluentWait; Chapter 6: Working with Alerts, Frames, and Windows; Introduction; Handling a simple JavaScript alert box; Handling a confirm and prompt alert box; Identifying and handling frames; Working with IFRAME; Identifying and handling a child window; Identifying and handling a window by its title

Identifying and handling a pop-up window by its contentChapter 7: 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; Creating a data-driven test in NUnit; Creating a data-driven test in MSTEST; Creating a data-driven test in Ruby using Roo; Creating a data-driven test in Python using DDT; Chapter 8: Using the Page Object Model; Introduction; Using the PageFactory class for exposing the elements on a page

Over 90 recipes to help you build and run automated tests for your web applications with Selenium WebDriver About This Book Learn to leverage the power of Selenium WebDriver with simple examples that illustrate real-world problems and their workarounds Explains the testing of mobile applications with Appium for mobile platforms such as iOS and Android A pragmatic manual with engaging recipes and attractive screenshots to test your web applications efficiently Who This Book Is For This 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 Learn Understand how the locators work and use various locator methods to build reliable tests Build reliable and maintainable tests with the Selenium WebDriver API Use the PageFactory pattern to build a robust and easy to maintain test framework Build data-driven tests and extend Selenium API to implement custom steps and checks Integrate and use ATDD/BDD tools such as Cucumber, SpecFlow, Capybara, and Behave with the Selenium WebDriver API Set up iPhone/iPad and Android simulators and devices to test your mobile web application with Appium Set up Selenium Grid for faster and parallel running of tests, increasing test coverage and reducing test execution time for cross-browser testing Build extended Selenium WebDriver tests for additional coverage In Detail This 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 approach This recipe-based guide covers real-life scenar...

eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - Worldwide

There are no comments on this title.

to post a comment.

O.P. Jindal Global University, Sonepat-Narela Road, Sonepat, Haryana (India) - 131001

Send your feedback to glus@jgu.edu.in

Hosted, Implemented & Customized by: BestBookBuddies   |   Maintained by: Global Library