Wydawca: 8
Prashanth Sams
If you are a developer who wants to migrate from Selenium RC or any other automation tool to Selenium WebDriver, then this book is for you. Knowledge of automation tools is necessary to follow the examples in this book.
Carl Cocchiaro
The Selenium WebDriver 3.x Technology is an open source API available to test both Browser and Mobile applications. It is completely platform independent in that tests built for one browser or mobile device, will also work on all other browsers and mobile devices. Selenium supports all major development languages which allow it to be tied directly into the technology used to develop the applications. This guide will provide a step-by-step approach to designing and building a data-driven test framework using Selenium WebDriver, Java, and TestNG.The book starts off by introducing users to the Selenium Page Object Design Patterns and D.R.Y Approaches to Software Development. In doing so, it covers designing and building a Selenium WebDriver framework that supports both Browser and Mobile Devices. It will lead the user through a journey of architecting their own framework with a scalable driver class, Java utility classes, JSON Data Provider, Data-Driven Test Classes, and support for third party tools and plugins.Users will learn how to design and build a Selenium Grid from scratch to allow the framework to scale and support different browsers, mobile devices, versions, and platforms, and how they can leverage third party grids in the Cloud like SauceLabs.Other topics covered include designing abstract base and sub-classes, inheritance, dual-driver support, parallel testing, testing multi-branded applications, best practices for using locators, and data encapsulation.Finally, you will be presented with a sample fully-functional framework to get them up and running with the Selenium WebDriver for browser testing.By the end of the book, you will be able to design your own automation testing framework and perform data-driven testing with Selenium WebDriver.
Selenium i testowanie aplikacji. Receptury. Wydanie II
Unmesh Gundecha
Projektanci nowoczesnych aplikacji internetowych muszą obecnie sprostać wielu wyzwaniom. Oprogramowanie, które tworzą, musi działać wydajnie i bezbłędnie w różnych przeglądarkach, na różnych platformach, na różnych urządzeniach. Wobec rosnących wymagań testowanie aplikacji staje się bardzo ważnym etapem jej rozwoju. Jako że zaprojektowanie i przeprowadzenie takich testów jest dość złożonym zadaniem, warto zapewnić sobie sprawdzone narzędzie umożliwiające automatyzację testów aplikacji. Takim narzędziem z pewnością jest Selenium Web Driver — framework służący do automatyzacji przeglądarek internetowych. W tej książce przedstawiono zaawansowane techniki testowania aplikacji internetowych za pomocą Selenium Web Driver i pokrewnych narzędzi. Zaprezentowano skuteczne i efektywne metodyki testowania aplikacji przeznaczonych dla komputerów stacjonarnych, przeglądarek mobilnych i działających w środowisku rozproszonym. Opisano tu również wzorce projektowe, takie jak testy bazujące na danych, obiekty stron i mapy obiektów. Przedstawiono techniki rozszerzania frameworka Selenium i dostosowywania go do szczególnych działań. W książce zaprezentowano ponad 80 receptur, które z pewnością okażą się przydatne podczas automatyzacji testów aplikacji. Czego możesz oczekiwać od tej książki... Zrozumiesz działanie lokalizatorów. Nauczysz się korzystać z różnych metod lokalizowania, co pomoże Ci budować niezawodne testy. Nauczysz się wzorca PageFactory, który pozwala budować rozbudowane i łatwe do utrzymania frameworki testów. Zapoznasz się ze sposobami integracji Selenium WebDriver API z narzędziami ATDD (BDD) takimi, jak Cucumber, SpecFlow, Capybara i Behave. Nauczysz się konfigurować symulatory i urządzenia iPhone (Android) w celu testowania aplikacji webowych za pomocą Appium. Dowiesz się, jak skonfigurować środowisko Selenium Grid pozwalające na szybsze i współbieżne wykonywanie testów. Dzięki niemu zwiększysz pokrycie testowe oraz skrócisz czas uruchomienia testów dla wielu przeglądarek. Będziesz potrafił budować rozszerzone testy Selenium WebDriver dla zwiększenia pokrycia Twojej aplikacji testami. Nowoczesne testowanie: Selenium Web Driver!
Selenium. Kurs video. Twój pierwszy automatyczny test w Python
Tomasz Kaniecki
Obierz kurs na... automatyczne testowanie w Pythonie Zawód programisty jest coraz popularniejszym życiowym wyborem - wciąż bowiem rośnie zapotrzebowanie na pracowników IT, a branża oferuje absolwentom informatyki satysfakcjonujące pensje, atrakcyjne warunki pracy, często też możliwość działania zdalnego. Jeśli myślisz o obraniu tej właśnie ścieżki zawodowej (albo o zmianie aktualnej profesji na IT), z pewnością już się do tego przygotowujesz, podejmując pierwsze próby tworzenia kodu. Całkiem prawdopodobne, że skłaniasz się - albo już dokonałeś wyboru - ku językowi Python. I świetnie: Python jest czytelny i klarowny, uniwersalny, ma spore możliwości, a przy tym pozostaje stosunkowo prosty do nauczenia. To Twój idealny pierwszy język programowania! Jednak umiejętność pisania kodu w danym języku programowania to dopiero pierwszy krok na Twojej drodze. Drugim, niemal równie ważnym, jest opanowanie zdolności do testowania tego, co udało Ci się napisać. By ułatwić sobie pracę, by ją przyspieszyć i uczynić mniej kłopotliwą, warto na początek zainteresować się testami automatycznymi. I dlatego w trakcie tego kursu zaproponujemy Ci zapoznanie się ze świetnie współpracującą z Pythonem biblioteką Selenium. Stanowi ona zestaw konkretnych narzędzi służących automatyzacji przeglądarek. Używa się jej między innymi do testowania aplikacji internetowych na wielu platformach. Na podstawie Selenium w prosty sposób napiszesz i wdrożysz własny zestaw testów, a tym samym uczynisz kolejny krok na drodze ku programowaniu. Jesteś gotów? W takim razie ruszamy! Co Cię czeka podczas naszego profesjonalnego szkolenia Ucząc się z kursem: Poznasz dobre praktyki, które powinno się stosować podczas pisania testów z użyciem języka Python Wypróbujesz poznane możliwości interfejsu WebDriver w praktyce Przeprowadzisz testy zgodne z zasadami SOLID Opanujesz zasady lokalizowania elementów i symulowania wprowadzania danych z klawiatury Spróbujesz symulowania geolokalizacji w przeglądarce Dowiesz się, czego nie testować Co więcej... Niejako przy okazji zapoznasz się wstępnie z dodatkowymi bibliotekami, takimi jak PyTest i Behave Twoja praca w ramach szkolenia Selenium. Kurs video. Twój pierwszy automatyczny test w Pythonie zakończy się na poziomie podstawowym. Obejmuje on podstawy korzystania z wiersza poleceń i środowiska wirtualnego Python, podstawy języka Python w ogóle, bazową wiedzę na temat obiektów typu DOM i oczywiście biblioteki Selenium. Krok dalej na drodze ku programowaniu Po co komu automatyzacja w testowaniu? - możesz zapytać. Otóż w celu przyspieszenia. Po prostu. Automatyczne testowanie aplikacji i stron internetowych jest zwyczajnie szybsze niż testowanie manualne. Programista Pythona mający w stacku technologicznym umiejętność tworzenia automatycznych testów aplikacji webowych zwiększa swoje szanse na dołączenie do ciekawych i dobrze płatnych projektów. A przecież o to chodzi! Dlatego nie czekaj, tylko już dziś zapoznaj się z poszczególnymi elementami biblioteki Selenium - od podstaw podejścia obiektowego po sprawdzanie behawioralne. Zdobytą w trakcie szkolenia wiedzę wykorzystamy między innymi do wspólnego przetestowania strony - uwaga! - wydawnictwa Helion.
UNMESH GUNDECHA
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.
UNMESH GUNDECHA
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 efficiently with Selenium WebDriver.Selenium Testing Tools Cookbook is an incremental guide that will help you learn and use advanced features of Selenium WebDriver API in various situations for building reliable test automation. You will learn how to effectively use features of Selenium using simple and detailed examples. This book will also teach you best practices, design patterns, and how to extend Selenium.Selenium Testing Tools Cookbook shows developers and testers who already use Selenium, how to go to the next step and build a highly maintainable and reliable test framework using advanced features of the tool.The book starts with tips on advanced location strategy and effective use of Selenium WebDriver API. Then it demonstrates the use of design patterns such as Data Driven Tests and PageFactory for building maintainable test automation. It also explains extending Selenium WebDriver API along with implementing custom tasks and setting up your own distributed environment to run tests in parallel.It concludes with tips on integrating Selenium WebDriver with other popular tools, testing mobile web applications, and capturing videos of test runs. This books provides examples in Java, C#, Ruby, and Python.Selenium Testing Tools Cookbook will help you in building a highly robust and maintainable test automation framework from start to finish.
UNMESH GUNDECHA, Satya Avasarala
Selenium WebDriver is an open source automation tool implemented through a browser-specific driver, which sends commands to a browser and retrieves results. The latest version of Selenium 3 brings with it a lot of new features that change the way you use and setup Selenium WebDriver. This book covers all those features along with the source code, including a demo website that allows you to work with an HMTL5 application and other examples throughout the book.Selenium WebDriver 3 Practical Guide will walk you through the various APIs of Selenium WebDriver, which are used in automation tests, followed by a discussion of the various WebDriver implementations available. You will learn to strategize and handle rich web UI using advanced WebDriver API along with real-time challenges faced in WebDriver and solutions to handle them. You will discover different types and domains of testing such as cross-browser testing, load testing, and mobile testing with Selenium. Finally, you will also be introduced to data-driven testing using TestNG to create your own automation framework.By the end of this book, you will be able to select any web application and automate it the way you want.
Pinakin Chaubal
Selenium WebDriver is a platform-independent API for automating the testing of both browser and mobile applications. It is also a core technology in many other browser automation tools, APIs, and frameworks. This book will guide you through the WebDriver APIs that are used in automation tests.Chapter by chapter, we will construct the building blocks of a page object model framework as you learn about the required Java and Selenium methods and terminology.The book starts with an introduction to the same-origin policy, cross-site scripting dangers, and the Document Object Model (DOM). Moving ahead, we'll learn about XPath, which allows us to select items on a page, and how to design a customized XPath. After that, we will be creating singleton patterns and drivers. Then you will learn about synchronization and handling pop-up windows. You will see how to create a factory for browsers and understand command design patterns applicable to this area.At the end of the book, we tie all this together by creating a framework and implementing multi-browser testing with Selenium Grid.