Java Basics Primer for Selenium Users (Non-Developers, QA, Testers, etc.)

Learn “Just Enough Java” Syntax to Use Java with Selenium Web Testing Tools

TT2190

Basic

3 Days

Course Overview

The Java Basics Primer for Non-Developers / Selenium Users is a hands-on introduction to Java basic syntax geared for Selenium testers and users, providing participants with "Just Enough Java" syntax experience to leverage modern web testing tools.  Java is the primary option for implementing automation using Selenium. This course provides the knowledge and experience to understand, customize, and enhance Selenium’s testing scripts. 

Working within in an engaging, hands-on learning environment, guided by our expert team, attendees will learn to:

  • Understand the fundamentals of the Java language in terms of supporting Selenium functionality
  • Understand the basics of the Java language
  • Work with the basic Java syntax for flow control (looping and conditionals) as well as string handling and basic data structures
  • Learn to use Java exception handling features
  • Understand and use classes, inheritance and polymorphism
  • Understand the use of annotations

Course Objectives

This “skills-centric” course is about 50% hands-on lab and 50% lecture, designed to train attendees in core next-level Java development skills, coupling the most current, effective techniques with the soundest industry practices. Working within in an engaging, hands-on learning environment, guided by our expert team, attendees will learn to:

  • Understand the fundamentals of the Java language in terms of supporting Selenium functionality
  • Understand the basics of the Java language
  • Work with the basic Java syntax for flow control (looping and conditionals) as well as string handling and basic data structures
  • Learn to use Java exception handling features
  • Understand and use classes, inheritance and polymorphism
  • Understand the use of annotations

Need different skills or topics?  If your team requires different topics or tools, additional skills or custom approach, this course may be further adjusted to accommodate.  We offer additional testing, Selenium, Cucumber, Gherkin, Python, TDD, BDD, programming, testing tools, test automation, QA, services, security and other related topics that may be blended with this course for a track that best suits your needs. Our team will collaborate with you to understand your needs and will target the course to focus on your specific learning objectives and goals.

Course Prerequisites

This is an introductory- level course, designed for students who need to learn just enough Java to successfully use and support Selenium / WebDriver.  Attendees should have a basic working knowledge of developing or testing software applications. Students include testers, QA and BA or similar non-coding roles.

Take After:

  • TT3610          Introduction to Selenium | Selenium Web Testing – 3 days
Our testing and programming tracks include a wide variety of follow-on courses and learning paths for next-level testing skills. Please see the Related Courses tab for specific Pre-Requisite courses, Related Courses that offer similar skills or topics, and next-step Learning Path recommendations.

 

Course Agenda

Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We will work with you to tune this course and level of coverage to target the skills you need most.

Session: Java: A First Look

Lesson: The Java Platform

  • Java Platforms
  • Lifecycle of a Java Program
  • Responsibilities of JVM
  • Documentation and Code Reuse

Lesson: Using the JDK

  • Setting Up Environment
  • Locating Class Files
  • Compiling Package Classes
  • Source and Class Files
  • Java Applications
  • Lab: Exploring MemoryViewer
  • Lab: Exploring ColorPicker (optional)

Lesson: The Eclipse Paradigm

  • Become more familiar with Eclipse workbench concepts
  • Explore the paradigm used by Eclipse, consisting of editors, views and perspectives in detail
  • Introduce some commonly used views
  • Explain Perspectives
  • Tutorial: Setup Projects in Eclipse

Session: Getting Started with Java

Lesson: Writing a Simple Class

  • Classes in Java
  • Class Modifiers and Types
  • Class Instance Variables
  • Primitives vs. Object References
  • Creating Objects
  • Lab: Create a Simple Class

Lesson: Adding Methods to the Class

  • Passing Parameters into Methods
  • Returning a Value from a Method
  • Overloaded Methods
  • Constructors
  • Optimizing Constructor Usage
  • Lab: Create a Class with Methods

Lesson: Language Statements

  • Operators
  • Comparison and Logical Operators
  • Looping
  • Continue and Break Statements
  • The switch Statement
  • The for-each() Loop
  • Lab: Looping (optional)
  • Lab: Language Statements

Lesson: Using Strings

  • Create an instance of the String class
  • Test if two strings are equal
  • Get the length of a string
  • Contrast String, StringBuffer, and StringBuilder
  • Lab: Fun with Strings
  • Lab: Using StringBuffers and StringBuilders (optional)

Lesson: Specializing in a Subclass

  • Extending a Class
  • implementing equals and toString
  • Using instanceof to verify the class type of an object reference
  • The Object Class
  • Default Constructor
  • Implicit Constructor Chaining
  • Safely casting references to a more refined type
  • Lab: Creating Subclasses
  • Lab: Defining the Student Subclass

Session: Essential Java Programming

Lesson: Fields and Variables

  • Instance vs. Local Variables: Usage Differences
  • Data Types
  • Default Values
  • Block Scoping Rules
  • Final and Static Fields
  • Static Methods
  • Lab: Field Test (optional)

Lesson: Using Arrays

  • Declaring an array
  • Accessing the Array
  • Multidimensional Arrays
  • Copying Arrays
  • Variable Arguments
  • Lab: Creating an Array
  • Lab: Defining the Student Array

Lesson: Java Packages and Visibility

  • Class Location of Packages
  • The Package Keyword
  • Importing Classes
  • Executing Programs
  • Java Naming Conventions

Session: Next Level Java Programming

Lesson: Inheritance and Polymorphism

  • Writing a subclass with a method that overrides a method in the superclass
  • Grouping objects by their common supertype
  • Utilize polymorphism by invoking subclass method implementations through superclass references
  • Casting a supertype reference to a subtype reference
  • Using the final keyword on methods and classes
  • Lab: Salaries - Polymorphism

Lesson: Interfaces and Abstract Classes

  • Define supertype contracts using interfaces and abstract classes
  • Implement concrete classes using interfaces and abstract classes
  • Explain the advantage of interfaces over abstract classes
  • Explain the advantage of abstract classes over interfaces
  • Lab: Mailable - Interfaces

Lesson: Exceptions

  • Exception Architecture
  • Handling Multiple Exceptions
  • Automatic Closure of Resources
  • Creating Your Own Exceptions
  • Throwing Exceptions
  • Checked vs. Unchecked Exceptions
  • Lab: Exceptions

Lesson: Overview of Collections

  • Provide an overview of the Collection API
  • Discover the different collection implementations

Lesson: Introduction to Annotations

  • Annotations Overview
  • Working with Java Annotations
  • Lab: Annotations
  • Lab: Using Annotations

Course Materials

Student Materials: Each participant will receive a digital Student Guide and/or Course Notes, code samples, software tutorials, step-by-step written lab instructions (as applicable), diagrams and related reference materials and resource links. Students will also receive the project files (or code, if applicable) and solutions required for the hands-on work.

Hands-On Setup Made Simple! Our dedicated tech team will work with you to ensure our ‘easy-access’ cloud-based course environment, or local installation, is accessible, fully-tested and verified as ready to go well in advance of the course start date, ensuring a smooth start to class and effective learning experience for all participants. In some cases we can also help you install this course locally if preferred. Please inquire for details and options.

Every-Course Extras = High-Value & Long-Term Learning Support! All Public Schedule courses include our unique EveryCourse Extras package (Course Recordings, Live Instructor Follow-on Support, Free *Live* Course Refresh Re-Takes, early access to Special Offers, Free Courses & more). Please inquire for details.

Raise the bar for advancing technology skills

Attend a Class!

Live scheduled classes are listed below or browse our full course catalog anytime

Special Offers

We regulary offer discounts for individuals, groups and corporate teams. Contact us

Custom Team Training

Check out custom training solutions planned around your unique needs and skills.

EveryCourse Extras

Exclusive materials, ongoing support and a free live course refresh with every class.

Mix, Match & Master!
2FOR1: Two Courses, One Price!

Enroll in *any* two public courses (for 2023 *OR* 2024 dates!) by December 31, for one price!  Learn something new, or share the promo!

Click for Details & Additional Offers

Learn. Explore. Advance!

Extend your training investment! Recorded sessions, free re-sits and after course support included with Every Course
Trivera MiniCamps
Gain the skills you need with less time in the classroom with our short course, live-online hands-on events
Trivera QuickSkills: Free Courses and Webinars
Training on us! Keep your skills current with free live events, courses & webinars
Trivera AfterCourse: Coaching and Support
Expert level after-training support to help organizations put new training skills into practice on the job

The voices of our customers speak volumes

Special Offers
Limited Offer for most courses.

SAVE 50%

Learn More