Java Testng Mastery Course

Posted By: ELK1nG

Java Testng Mastery Course
Published 8/2024
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 11.28 GB | Duration: 17h 41m

Master Java testing with TestNG and Selenium, and elevate your automation skills to the next level!

What you'll learn

Understand the fundamentals and features of TestNG.

Create and run TestNG test classes and use annotations effectively.

Execute complex test scenarios, including dependency and exception tests.

Develop real-world applications with comprehensive TestNG testing.

Integrate TestNG with Selenium for web application testing.

Manage projects using Apache Ant and Maven for efficient build and deployment.

Requirements

Basic knowledge of Java programming. Familiarity with Eclipse IDE. Basic understanding of web applications and testing concepts. No prior knowledge of TestNG, Selenium, Ant, or Maven is required.

Description

Course IntroductionWelcome to the Java TestNG Mastery Course, your comprehensive guide to mastering TestNG, a powerful testing framework for Java applications. This course is designed to take you from a beginner to an advanced user, equipping you with the knowledge and skills needed to efficiently test and validate your Java applications using TestNG. Whether you're just starting out or looking to enhance your testing capabilities, this course provides a structured approach to learning TestNG.Section 1: Java TestNG FundamentalsIn this section, you will be introduced to the basics of TestNG, including its features and how it enhances Java testing. You'll learn how to create and run TestNG classes, understand TestNG annotations, and explore dependency and exception tests. This section lays the groundwork for effectively using TestNG in your projects by covering essential topics such as test suites, groups, and data providers.Section 2: Java TestNG Case Study - Doctor Management SystemThis section dives into a practical case study involving a Doctor Management System. You'll apply what you've learned to create schema classes, perform CRUD operations, and build a user interface. You'll also implement validations, handle exceptions, and conduct unit testing using TestNG. This hands-on project helps solidify your understanding of TestNG by applying it to a real-world scenario.Section 3: Java TestNG Case StudyBuilding on the previous case study, this section presents another comprehensive project that involves creating a customer management application. You'll develop POJO classes, build a user interface, and implement methods for adding and displaying customers. The focus is on validating customer data and ensuring the application flows correctly, culminating in thorough testing using TestNG.Section 4: Selenium - Selenium IDEHere, you'll be introduced to Selenium IDE, a powerful tool for automating web application testing. You'll learn how to install and use Eclipse, record and debug scripts, and perform various commands like wait, verify, and assert. The section also covers JavaScript basics, user extensions, and regular expressions, providing a strong foundation for automating web tests with Selenium IDE.Section 5: Selenium - TestNG IntegrationThis section focuses on integrating TestNG with Selenium for enhanced testing capabilities. You'll explore different types of annotations, test methods, grouping, and parameterizing test cases. The section also covers executing tests in parallel, retrying failed tests, and running TestNG suites, providing you with advanced techniques to streamline your testing process.Section 6: Selenium - TestNG with Apache Ant and MavenIn the final section, you'll learn how to use Apache Ant and Maven with TestNG to manage and build your projects. You'll configure Ant, create and execute build files, and generate XSLT reports. The section also covers Maven project creation, importing, and modifying test cases, as well as converting existing projects to Maven, ensuring you can efficiently manage and automate your testing workflow.Course ConclusionBy the end of this course, you will have a deep understanding of TestNG and its integration with Selenium, Ant, and Maven. You’ll be able to create, manage, and execute comprehensive test suites, automate testing processes, and apply best practices in your Java applications. This course empowers you with the skills to ensure your software is reliable, efficient, and ready for production.

Overview

Section 1: Java TestNG

Lecture 1 What is TestNG

Lecture 2 Features of TestNG

Lecture 3 Example- Creating TestNG Class

Lecture 4 Example- Cresting TestNG Class- Employee Details

Lecture 5 Example- Running & Analyzing the details

Lecture 6 TestNG Annotations example

Lecture 7 TestNg Dependency Test

Lecture 8 TestNG Exception test

Lecture 9 TestNG test suites part 1

Lecture 10 TestNG test suites part 2

Lecture 11 TestNG executing groups - part 1

Lecture 12 TestNG executing groups - part 2

Lecture 13 TestNG Ignore test example

Lecture 14 Parameter test using data providers

Lecture 15 Parameter test using testing

Section 2: Java TestNG Case Study - Doctor Management System

Lecture 16 Project on Doctor Management System

Lecture 17 Creating Schema Class

Lecture 18 Creating Schema Class Continue

Lecture 19 Creating Collection to Perform CRUD Operations

Lecture 20 Creating Collection to Perform CRUD Operations Continue

Lecture 21 Creating UI

Lecture 22 Creating UI Continue

Lecture 23 Creating Validation

Lecture 24 Implementing Validation in Programme

Lecture 25 Creating Exception and Handling Exception

Lecture 26 Installation of TestNG

Lecture 27 Unit Testing using TestNG

Lecture 28 Unit Testing using TestNG Continue

Section 3: Java TestNG Case Study

Lecture 29 Introduction to Project

Lecture 30 Creating POJO Class

Lecture 31 Creating UI

Lecture 32 UI Building

Lecture 33 Adding Customers

Lecture 34 Display Customer and Check Criteria

Lecture 35 Implementing Methods to UI

Lecture 36 Creating Validation

Lecture 37 Implementing Validation

Lecture 38 Creating and Implementing Exception

Lecture 39 Checking the Flow of Application

Lecture 40 Testing Customer Data using TestNG

Lecture 41 Testing Customer Data using TestNG Continue

Lecture 42 Testing Customer Validation using TestNG

Lecture 43 Output of the Project

Section 4: Selenium - Selenium IDE

Lecture 44 Introduction to Selenium

Lecture 45 What is Selenium

Lecture 46 Java Installation

Lecture 47 How to Download Eclipse

Lecture 48 Basic Programs of Eclipse

Lecture 49 Eclipse Tool

Lecture 50 Different Types Views

Lecture 51 How to use Debug Mode

Lecture 52 Conclusion of Eclipse Tools

Lecture 53 Introduction to Java

Lecture 54 Install IDE FireBug and FirePath

Lecture 55 Record and Debug Script

Lecture 56 Pause and Step Execution

Lecture 57 Wait Command

Lecture 58 Verify Alert

Lecture 59 Assert Alert

Lecture 60 Store and Echo

Lecture 61 Store Eval and Stored Vars

Lecture 62 JavaScript Basics

Lecture 63 JavaScript Basics Continues

Lecture 64 User Extensions Basics

Lecture 65 More on User Extensions

Lecture 66 Regular Expressions

Lecture 67 Regular Expressions Continues

Lecture 68 Creating New Test Care

Lecture 69 Login to Flipkart

Lecture 70 View Gift Card Balance

Lecture 71 Link Count

Lecture 72 Link Count Continues

Lecture 73 Add Items to Cart

Lecture 74 Delete From Cart

Lecture 75 More on Delete Cart

Lecture 76 Log Out

Lecture 77 Parameterization of Test Cases

Lecture 78 Parameterization of Test Cases Continues

Lecture 79 More on Parameterization of Test Cases

Lecture 80 Capturing Screenshots in Selenium IDE

Lecture 81 Conclusion

Section 5: Selenium - TestNG

Lecture 82 Introduction to TestNG

Lecture 83 Types of Annotations

Lecture 84 TestNG Annotations and Reports

Lecture 85 Annotation Calling Sequence

Lecture 86 Annotation Calling Sequence Continue

Lecture 87 Before Class and Before Test

Lecture 88 How to Run Tests Using Tseng Xml File

Lecture 89 Run Tseng Xml File Programmatic

Lecture 90 Run TestNG Xml File from Command Prompt

Lecture 91 Run TestNG Xml File Command Prompt

Lecture 92 Run Tests in TestNG Using Batch File

Lecture 93 Scheduling the Batch File in Task Scheduler

Lecture 94 Test Methods

Lecture 95 Test Methods Continues

Lecture 96 Inside Method

Lecture 97 Grouping

Lecture 98 Grouping Continues

Lecture 99 Creating Three Test Method

Lecture 100 Exclude and Include

Lecture 101 Parameterizing Test Cases

Lecture 102 Parameters Annotation

Lecture 103 Data Provider Example

Lecture 104 Data Provider

Lecture 105 Data Provider Continues

Lecture 106 Maintaining Data Providers

Lecture 107 Maintaining Data Providers Continues

Lecture 108 Testing Log in Part

Lecture 109 Data Providers for Different Tests

Lecture 110 Single Data Provider for Multiple Tests

Lecture 111 Parameters to Data Provider

Lecture 112 Parameters to Data Provider Continues

Lecture 113 How to Execute Tests in Parallel

Lecture 114 Single Data Provider Method

Lecture 115 I test Context

Lecture 116 How to execute classes in Parallel

Lecture 117 How to execute classes in Parallel Continue

Lecture 118 How to Execute Methods in Parallel

Lecture 119 Invoking Multiple Threads Using Thread Pool Size

Lecture 120 Retry Failed Tests

Lecture 121 Retry Failed Tests Continues

Lecture 122 Custom Correction of Retry

Lecture 123 Run As Tseng Suite

Section 6: Selenium - TestNG with Apache Ant and Maven

Lecture 124 Introduction to Apache Ant

Lecture 125 Configuring Ant

Lecture 126 Build Xml

Lecture 127 Build Xml Continues

Lecture 128 Executing Class Path

Lecture 129 Test NG Results XSLT Reports

Lecture 130 More on XSLT Reports

Lecture 131 Introduction to Maven

Lecture 132 Maven vs SVN

Lecture 133 Create Maven Project from Command Prompt

Lecture 134 Importing Maven Project Into Eclipse

Lecture 135 Importing Maven Project Into Eclipse Continues

Lecture 136 Modifying Test Case

Lecture 137 Converting Existing Project to Maven

Lecture 138 More on Existing Project to Maven

Java developers looking to enhance their testing skills. QA engineers and testers seeking to automate their testing processes. Software engineers interested in learning TestNG and Selenium. Anyone looking to improve the reliability and efficiency of their Java applications through automated testing.