Visão Geral
Curso Java para Usuario Selenium não Desenvolvedor QA Testing. Aprenda a sintaxe “Just Enough Java” para usar Java na automação Selenium, testando melhorias de script e muito mais.
O Java Basics Primer para não desenvolvedores/usuários do Selenium é uma introdução prática à sintaxe básica do Java voltada para testadores e usuários do Selenium, proporcionando aos participantes a experiência de sintaxe 'Just Enough Java' para aproveitar ferramentas modernas de teste da web. Java é a principal opção para implementar automação usando Selenium. Este curso fornece conhecimento e experiência para compreender, personalizar e aprimorar os scripts de teste do Selenium
Conteúdo Programatico
Session: Java: A First Look The Java Platform
- Java Platforms
- Lifecycle of a Java Program
- Responsibilities of JVM
- Documentation and Code Reuse
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)
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 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
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
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
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)
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 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)
Using Arrays
- Declaring an array
- Accessing the Array
- Multidimensional Arrays
- Copying Arrays
- Variable Arguments
- Lab: Creating an Array
- Lab: Defining the Student Array
Java Packages and Visibility
- Class Location of Packages
- The Package Keyword
- Importing Classes
- Executing Programs
- Java Naming Conventions
Session: Next Level Java Programming 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
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
Exceptions
- Exception Architecture
- Handling Multiple Exceptions
- Automatic Closure of Resources
- Creating Your Own Exceptions
- Throwing Exceptions
- Checked vs. Unchecked Exceptions
- Lab: Exceptions
Overview of Collections
- Provide an overview of the Collection API
- Discover the different collection implementations
Introduction to Annotations
- Annotations Overview
- Working with Java Annotations
- Lab: Annotations
- Lab: Using Annotations