Java Basics Primer for Selenium Users

Get a thorough understanding of Java basic syntax for flow control and the role of Java in Selenium’s functionality

Course Code : 1226
Java Basics Primer for Selenium Users 0 5 0



The Java basics primer for Selenium users is targeted towards Selenium testers and users, with an aim to introduce them to Java basic syntax. The course equips participants with the skills and knowledge essential for working efficiently with the testing scripts and automation tools in Selenium, while also discussing how to customize and enhance the Selenium capabilities to meet specific requirements.

Schedule Classes

Looking for more sessions of this class?

Course Delivery

This course is available in the following formats:

Live Classroom
Duration: 5 days

Live Virtual Classroom
Duration: 5 days

What You'll learn

  • Objects, classes and OO implementations
  • OO concepts such as encapsulation, inheritance, polymorphism and abstraction
  • Role of Java in the Selenium functionality
  • Basic Java syntax for flow control (looping and conditionals)
  • String handling and basic data structures
  • Java exception handling features
  • Classes, inheritance and polymorphism


  • Java platforms
  • Lifecycle of a Java program
  • Responsibilities of JVM
  • Documentation and code reuse
  • Setting up environment
  • Locating class files
  • Compiling package classes
  • Source and class files
  • Java applications
  • Exercise: Exploring MemoryViewer
  • Exercise: Exploring ColorPicker
  • Workbench and workspace
  • Views
  • Editors
  • Perspectives
  • Projects
  • Tutorial: Working with Eclipse Oxygen
  • Classes in Java
  • Class modifiers and types
  • Class instance variables
  • Primitives vs. object references
  • Creating objects
  • Exercise: Create a simple class
  • Passing parameters into methods
  • Returning a value from a method
  • Overloaded methods
  • Constructors
  • Optimizing constructor usage
  • Exercise: Create a class with methods
  • Operators
  • Comparison and logical operators
  • Looping
  • Continue and Break statements
  • The switch statement
  • The FOR-EACH () loop
  • Exercise: Looping
  • Strings
  • String methods
  • String equality
  • StringBuffer
  • StringBuilder
  • Exercise: Fun with Strings
  • Exercise: Using StringBuffers and StringBuilders
  • Extending a class
  • Casting
  • The object class
  • Default constructor
  • Implicit constructor chaining
  • Exercise: Creating subclasses
  • Instance vs. local variables – usage differences
  • Data types
  • Default values
  • Block scoping rules
  • Final and static fields
  • Static methods
  • Exercise: Field test
  • Arrays
  • Accessing the arrays
  • Multi-dimensional arrays
  • Copying arrays
  • Variable arguments
  • Exercise: Creating an array
  • Class location of packages
  • The package keyword
  • Importing classes
  • Executing programs
  • Java naming conventions
  • Polymorphism: The subclasses
  • Upcasting vs. Downcasting
  • Calling superclass methods from subclass
  • The final keyword
  • Exercise: Salaries – Polymorphism
  • Separating capability from implementation
  • Abstract classes
  • Implementing an interface
  • Abstract classes vs. interfaces
  • Exercise: Mailable – interfaces
  • Exception architecture
  • Handling multiple exceptions
  • Automatic closure of resources
  • Creating your own exceptions
  • Throwing exceptions
  • Checked vs. unchecked exceptions
  • Exercise: Exceptions
  • Generics and subtyping
  • Bounded wildcards
  • Generic methods
  • Legacy calls to generics
  • When generics should be used
  • Exercise: Shopping cart
  • Characterizing collections
  • Collection interface hierarchy
  • Iterators
  • The set interface
  • The list interface
  • Queue interface
  • Map interface
  • Using the right collection
  • Collections and multi-threading
  • Exercise: Collections poker
View More


Participants need to have a fundamental working knowledge of developing or testing software applications.

Who Should Attend

  • Software testers
  • Application testers
  • Quality assurance professionals
  • Business analysts
  • Automation testers
  • Test engineers
  • QA automation engineers

Interested in this course? Let’s connect!

Customer Reviews

Review Title
Review Content

No reviews yet