Mastering Selenium Testing Tools
3.8 (13 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
165 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Mastering Selenium Testing Tools to your Wishlist.

Add to Wishlist

Mastering Selenium Testing Tools

Test the look, feel, and performance of web apps across different browsers with Selenium for a flawless user experience
3.8 (13 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
165 students enrolled
Created by Packt Publishing
Last updated 12/2015
English
Curiosity Sale
Current price: $10 Original price: $95 Discount: 89% off
30-Day Money-Back Guarantee
Includes:
  • 3.5 hours on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Record and replay a test scenario using the Selenium IDE
  • Script tests using WebDriver and Java for the seamless use of a programming language to test web applications
  • Locate elements using name, id, xPath, CSS, and even by className
  • Separate page navigation and testing to create a maintainable test setup using the Page Object pattern
  • Master cross-browser testing to verify the running of web applications using different browsers
  • Understand test failure and debugging for executions in an unattended build system
  • Express, validate, and verify the expected behavior using an executable specification
  • Use continuous integration environment to successfully test web applications
View Curriculum
Requirements
  • It assumes you have entry-level knowledge in Selenium and Java, to help you get to an advanced level.
Description

We all have felt the need to test whether our applications are performing well across different web browsers, but the sheer tedium involved in learning test scripting languages might have stopped us from doing so. What if Selenium gave us the power to control web browsers and use them to automate web application testing? As an open source test automation toolset, Selenium makes it easier for testers to evaluate web applications without putting in any extra time and effort.

Mastering Selenium Testing Tools is all about demystifying the Selenium toolset for testing websites. Testing professionals rely on a variety of test automation tools to test web applications effectively. But these tools often fail to test applications when frequent changes and enhancements are made to the code.

A viewer with a reasonable knowledge and understanding of the core elements of Selenium will learn to verify web applications, control browsers with code, and scale up the testing environment by distributing the execution of web applications on different browsers running on different operating systems.

The course starts with Selenium IDE, a Firefox plugin that performs a simple record-and-playback of interactions with the browser. A tester aiming for professional output can use WebDriver, an advanced scripting tool that will teach you to locate the elements you need to interact with using their name, id, xPath, or CSS. Testing is all about understanding what behavior is expected. If you don't understand how it should work, how can you verify that it actually works as desired? You will learn to express the desired behavior using an executable specification and a language that your end users can read and validate. This will be done using a well-known framework for Behavior Driven Development (BDD) called Cucumber for Java.

Selenium is not just a single tool but a suite of software, each catering to the different testing needs of an organization. This course will give you a flying start towards implementing test automation using this free testing tool suite.

About The Authors

Ripon Al Wasim is currently working as a Sr. Software Engineer. He lives in Dhaka, Bangladesh. He has 13+ years of experience in the software industry. He started programming with Visual Basic. But later Ripon started to use Java and became involved in professional Java projects. He is a Sun Certified Java Programmer (SCJP). Ripon enjoys test automation very much, especially the BDD style and technique.

Thomas Sundberg is an independent consultant based in Stockholm, Sweden. He has a Master's degree in Computer Science from the Royal Institute of Technology, KTH, in Stockholm. Thomas has been working as a developer for more than 25 years. He has taught programming at The Royal Institute of Technology, KTH, one the leading technical universities in Sweden. He has developed an obsession with technical excellence. This translates to software craftsmanship, clean code, and test automation.

He is a frequent speaker at various conferences and developer venues.

Who is the target audience?
  • If you are a developer with intermediate knowledge in the field of test automation but want to scale up and become a testing expert, then this course is for you.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
29 Lectures
03:22:02
+
Setting Up the Work Environment
4 Lectures 16:14

Take a peek at the entire course and all its topics.

Preview 03:33

We’ll list and highlight a set of tools, frameworks, programming languages, and plugins to fulfill a better automated test as well as cross-browser testing with Selenium.

Selenium Tools Suite
02:26

Description of all the various tools that we need to set up and prepare the Selenium playground. We’ll take a look at tools such as Selenium IDE, WebDriver, Selenium Server, Java, JUnit, Maven, and IDEA.

Preparing Your Environment
05:39

We’ll take a look at a few details of Firebug and Firepath, the Selenium architecture, and categorizing the tools used in the Selenium suite.

Inspecting the Web Elements
04:36
+
Selenium IDE
3 Lectures 16:06

What selenium IDE is, why to use it? Installation and setting up Selenium IDE. How to record and replay tests in Selenium IDE. Finding and locating elements in the page with Selenium IDE.

Preview 03:04

Assertion and verification with Selenium IDE. Playing/running/executing the entire test case in Selenium IDE.

Putting the Selenium IDE to Use
03:29

Pros and cons of Selenium IDE. The difference between verify and assert. Modifying test scripts / test cases in Selenium IDE after recording. Exporting recorded steps/scripts to the desired programming language.

Getting to Know the Selenium IDE Better
09:33
+
Selenium WebDriver
9 Lectures 01:23:21

Exploit the flexibility of Selenium WebDriver such as many programming languages, different browsers, OS, and so on; test repeat and iteration, W3C draft, Java, JUnit, and Maven.

Preview 09:32

Demonstration of a basic Selenium example with Java and Maven.

Implementing Our First Example
09:07

WebDriver capabilities for different browsers such as Firefox, Chrome, IE, and so on.

WebDriver Capabilities
02:34

Take a look at the WebDriver Java API.

The WebDriver API
03:49

Brief description of locating web elements by using ID, Name, Linktext, partialLinktext, xpath, css, and so on.

Locators
05:51

WebElements are returned using different locators. Learn how to use them effectively.

WebElement
05:23

Writing Selenium test cases in a better, organized way using Page Objects Model or Page Objects Pattern.

Page Objects
09:14

Examples of Advanced WebDriver such as radio buttons, checkboxes, Select, Wait, Screenshot on test failure, multiple windows handling, and JavaScript.

Advanced WebDriver
20:05

Understand continuous integration and continuous delivery. Also go through Git for source code management.

Build with a Build System
17:46
+
Behavior-driven Development
4 Lectures 21:20

Understand what Gherkin is and take a look at terms such as ‘Given’, ‘When’, and ‘Then’. Also understand the software requirements in the perspective of business.

Preview 05:45

Adding Maven dependencies cucumber-java and cucumber-junit on pom.xml Running Cucumber with JUnit Cucumber Runner.

An Example - Infrastructure
03:36

Writing and implementing .feature files as plain text software requirement specifications. Implementing the Step Definitions class. Regular expression in the Cucumber test.

Actual Cucumber Implementation
09:18

Know why better organized code helps in better maintenance of the project.

Maintainability and Organization of the Code
02:41
+
Selenium Server
3 Lectures 19:00

Understand Why, How, and When the Selenium Server is used.

Preview 07:20

Executing tests internally, running nodes on the hub. Running tests externally, such as on SauceLabs.

Running Tests on the Selenium Server Internally
05:59

Running tests externally such as on SauceLabs.

Running Tests on the Selenium Server Externally
05:41
+
A Complete Example
4 Lectures 31:41

Step into the setup and implementation of the project environment. Learn how to make the Git repository.

Preview 06:37

Adding content in the feature file, making a JUnit Cucumber Runner, and creating and adding snippets in the step definition file.

Implementation of the Project
05:07

What is CI? Download, install, and meet Jenkins in the browser at the port 8080.

Continuous Integration
11:50

UI testing with Cucumber and Selenium. Modify pom.xml for Cucumber and Selenium. Implement page objects for a small web app.

Implementing Tests for the Web Application
08:07
+
Implementing Tests for the Web Application
2 Lectures 14:20

Some common advanced usage of Selenium is Explicit Waits, taking a screenshot, and advanced user interactions, mainly keyboard and mouse. Practical experience includes semantic verification, performing an actual transaction, for example, purchase, automation of service manager, and creating and adding user automatically.

Preview 07:32

Take a look at everything that was covered throughout the course and at channels to gain more knowledge.

A Look Back
06:48
About the Instructor
Packt Publishing
3.9 Average rating
7,297 Reviews
52,232 Students
616 Courses
Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.