Mastering Selenium Testing Tools

Test the look, feel, and performance of web apps across different browsers with Selenium for a flawless user experience
3.9 (12 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.
136 students enrolled
$19
$95
80% off
Take This Course
  • Lectures 29
  • Length 3.5 hours
  • Skill Level Expert Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 12/2015 English

Course 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.

What are the requirements?

  • It assumes you have entry-level knowledge in Selenium and Java, to help you get to an advanced level.

What am I going to get from this course?

  • 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

What 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.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Setting Up the Work Environment
03:33

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

02:26

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.

05:39

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.

04:36

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.

Section 2: Selenium IDE
03:04

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.

03:29

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

09:33

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.

Section 3: Selenium WebDriver
09:32

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.

09:07

Demonstration of a basic Selenium example with Java and Maven.

02:34

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

03:49

Take a look at the WebDriver Java API.

05:51

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

05:23

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

09:14

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

20:05

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

17:46

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

Section 4: Behavior-driven Development
05:45

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.

03:36

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

09:18

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

02:41

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

Section 5: Selenium Server
07:20

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

05:59

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

05:41

Running tests externally such as on SauceLabs.

Section 6: A Complete Example
06:37

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

05:07

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

11:50

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

08:07

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

Section 7: Implementing Tests for the Web Application
07:32

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.

06:48

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

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Packt Publishing, Tech Knowledge in Motion

Over the past ten years Packt Publishing has developed an extensive catalogue of over 2000 books, e-books and video courses aimed at keeping IT professionals ahead of the technology curve. From new takes on established technologies through to the latest guides on emerging platforms, topics and trends – Packt's focus has always been on giving our customers the working knowledge they need to get the job done. Our Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.

Ready to start learning?
Take This Course