• Packt logo
  • FutureLearn logo

Mobile and Web Testing with Selenium WebDriver and Java

Learn how to use Selenium WebDriver to speed up testing and ensure your web and mobile applications run expectedly.

Collage of modern adults using smart phones in city with wifi signals

Discover the advantages of automated testing within software development

Selenium WebDriver performs cross-platform automated testing, using simple and easy to understand architecture.

Developing your Java programming skills before embarking on the fundamentals of Selenium WebDriver, this three-week course will examine how this object oriented programming language and web framework work together to optimise automated testing processes.

Enhance your understanding of Java frameworks

Over two-thirds of Selenium Testers use Java as their programming language of choice when running automated tests.

Before delving into Selenium Webdriver, this course first takes you through intermediary Java programming techniques. You’ll explore sets and maps, exception handling, and working with text and Excel files using Apache before looking at WebDriver in more detail.

With this knowledge, you’ll be able to better understand the testing processes within WebDriver using your fluency in Java as a solid foundation to build upon.

Explore the fundamentals of Selenium WebDriver

Using an example oriented approach, you’ll discover Selenium WebDriver concepts and be guided through the very basics of getting started with test automation.

You’ll gain an overview of WebDriver architecture before moving on to navigating HTML page structures using XPath.

Identify web elements using Cascading Style Sheets (CSS) selectors

Towards the end of this course, you’ll be introduced to some of the most powerful tools within WebDriver, including CSS selectors.

By exploring specific tools in detail, you’ll be able to situate Selenium WebDriver’s various processes within your own testing workload.

By the end of this course, you’ll have developed an intermediate understanding of Java programming and know how to use this knowledge in conjunction with introductory processes of Selenium WebDriver.

Skip to 0 minutes and 2 seconds SPEAKER: Is web testing testing your patience? Do you need a Java jumpstart? Learn the basics to the more advanced elements of Java in just three weeks. Web testing maestro Mayur Deshmukh from De ZINNIA Learning shows you how. This course will enable you to identify the basic elements of Java, such as sets, maps, regular expressions, and exceptions; teach you how to locate a CSS selector by using XPath; and test a web driver on either Chrome or Firefox. Master mobile and web testing while you learn at your own pace from wherever you want. Step into your future with mobile and web testing with Selenium web driver and Java from Packt and FutureLearn.

Syllabus

  • Week 1

    Java basics

    • Welcome and introduction

      Welcome to Mobile and Web Testing with Selenium WebDriver and Java and the start of your learning journey, brought to you by Packt.

    • Sets in Java

      In this activity, we will learn about hashsets, linked hashsets and treesets and how to iterate over these sets with modified loops or list iterator.

    • Maps in Java

      In this activity, we will learn about hashmaps and treemaps and how to iterate over maps with modified loops or iterator.

    • Regular expressions in Java

      In this activity, we will explore regular expressions in Java. Find out what they are, and we use them. Discover quantifiers, character classes, bracket expressions, and operators to use.

    • Regularising patterns, prices and number ranges

      In this activity, we will follow some exercises in using regular expressions and discover how to use regularising.

    • Exceptions

      In this activity, we will learn about exceptions and exception handling and the difference between error and exception. We will also explore the three types of exception handling.

    • Wrap up

      You have reached the end of this week. In this activity you will reflect on what you have learned.

  • Week 2

    Selenium web driver basics

    • Introduction to Week 2

      In this activity, you'll review the topics that will be covered in Week 2.

    • Date and time operations in Java

      In this activity, we will discover what is current date and time, future and past time and time, and how to create them in Java.

    • Date difference

      In this activity, we will explore how to find the difference between two dates using period and duration objects and learn how to format a date.

    • Text files in Java

      In this activity, we will learn how to read, edit, sort, and copy text files and how to remove duplicate words from text files in Java.

    • Excel in Java

      In this activity, we'll explore how to use Excel data in Java.

    • Maven projects

      In this activity, we will discover how to install and configure a Maven project

    • Browser drivers

      In this activity, we will learn about browser drivers and how to install them.

    • Wrap up

      You have reached the end of this week. In this activity you will reflect on what you have learned.

  • Week 3

    CSS selectors

    • Introduction to Week 3

      In this activity, you'll review the topics that will be covered in Week 3.

    • Locating elements in Java

      In this activity, we will locate and inspect elements by using different attributes.

    • XPaths in Java

      In this activity, we will discover how to create and use the XPath.

    • XPath relationships

      In this activity, we'll explore the various relationships applicable to XPath Axes methods.

    • CSS Selectors

      In this activity, we will explore how to create CSS Selectors in different ways.

    • Wrap up

      You have reached the end of this course. In this activity you will reflect on what you have learned.

When would you like to start?

Start straight away and join a global classroom of learners. If the course hasn’t started yet you’ll see the future date listed below.

Learning on this course

On every step of the course you can meet other learners, share your ideas and join in with active discussions in the comments.

What will you achieve?

By the end of the course, you‘ll be able to...

  • Identify the basic elements of Java, such as sets, maps, regular expressions and exceptions.
  • Demonstrate how to locate a CSS selector by using XPath.
  • Evaluate a webdriver on either Chrome or Firefox.

Who is the course for?

This course is for developers with a fundamental knowledge of Java who want to improve testing processes across their web and mobile applications.

What software or tools do you need?

You’ll need access to an IDE (Integrated Development Environment) running on Windows, MacOS or Linux. We’ll show you how to setup and install other relevant tools, including Chrome and Firefox drivers.

Who developed the course?

Packt

Founded in 2004 in Birmingham, UK, Packt’s mission is to help the world put software to work in new ways, through the delivery of effective learning and information services to IT professionals.

FutureLearn

FutureLearn is a leading social learning platform and has been providing high quality online courses for learners around the world over the last ten years.

What's included?

This is a premium course. These courses are designed for professionals from specific industries looking to learn with a smaller group of like-minded individuals.

  • Unlimited access to this course
  • Includes any articles, videos, peer reviews and quizzes
  • Certificate of Achievement to prove your success when you're eligible
  • Download and print your Certificate of Achievement anytime

Still want to know more? Check out our FAQs

Learning on FutureLearn

Your learning, your rules

  • Courses are split into weeks, activities, and steps to help you keep track of your learning
  • Learn through a mix of bite-sized videos, long- and short-form articles, audio, and practical activities
  • Stay motivated by using the Progress page to keep track of your step completion and assessment scores

Join a global classroom

  • Experience the power of social learning, and get inspired by an international network of learners
  • Share ideas with your peers and course educators on every step of the course
  • Join the conversation by reading, @ing, liking, bookmarking, and replying to comments from others

Map your progress

  • As you work through the course, use notifications and the Progress page to guide your learning
  • Whenever you’re ready, mark each step as complete, you’re in control
  • Complete 90% of course steps and all of the assessments to earn your certificate

Want to know more about learning on FutureLearn? Using FutureLearn

Do you know someone who'd love this course? Tell them about it...