Learning Selenium Testing Tools - Third Edition
eBook - ePub

Learning Selenium Testing Tools - Third Edition

Raghavendra Prasad MG

Partager le livre
  1. 318 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Learning Selenium Testing Tools - Third Edition

Raghavendra Prasad MG

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Learning Selenium Testing Tools - Third Edition est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Learning Selenium Testing Tools - Third Edition par Raghavendra Prasad MG en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Informatique et DĂ©veloppement Web. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2015
ISBN
9781784396497

Learning Selenium Testing Tools Third Edition


Table of Contents

Learning Selenium Testing Tools Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
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 AJAX
Working 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
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 XPath
Using 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 the 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 attributes
Performing partial matches on attributes content
Finding the nth element with CSS
Finding an element by its inner text or partial text
Summary
Self-test questions
3. Overview of the 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 the 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 Eclipse
TestNG plug-in installation for Eclipse
Steps for installation
Summary
Self-test questions
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
Using findElementsByClassName()
Finding an element on the page by its XPath
Using findElementByXPath()
Finding elements on the page by their XPath
Using findElementsByXpath()
Finding an element on the page by its link text
Using findElementByLinkText()
Finding elements on the page by their link text
Using findElementsByLinkText()
Using findElement Helper methods
Finding elements using a more generic method
Using findElement()
Using findElements()
Tips and tricks
Finding if an element exists without throwing an error
Waiting for elements to appear on the page
Implicit waits
Using implicit waits
Explicit waits
Using explicit waits with Selenium WebDriver
Summary
Self-test questions
5. Design Patterns
Page objects
Setting up the test
Moving Selenium steps into private methods to make tests maintainable
Using the Page Object pattern to design tests
Using Page Factory with Page Object
Using PageFactory
LoadableComponent
Changing our Page Object to use LoadableComponent
Using LoadableComponent
Summary
Self-test questions
6. Working with WebDriver
Working with FirefoxDriver
Firefox profile preferences
Installing a Firefox add-on
Working with ChromeDriver
ChromeOptions
Working with OperaDriver
OperaProfile
Working with InternetExplorerDriver
Other important points
Summary
Self-test questions
7. Automation Framework Development and Building Utilities
Automation without framework
Automation with Framework
Test Automation Frameworks Evolution
Record/Playback
Advantages
Disadvantages
Action driven approach
Advantages
Disa...

Table des matiĂšres