Abstraction in Java

Abstraction in Java

Abstraction in Java, Java Object-Oriented Programming, Abstract Class, Abstract Methods, Java Interfaces, and Inheriting Abstract classes. Java Abstraction Four principles of Java object-oriented program, 1. Inheritance 2. Polymorphism 3. Abstraction 4. Encapsulation Java Object-Oriented Programming – Abstraction Abstraction is a Process of hiding implementation details and showing only functionality to the user. Two types of Methods … Read more

Selenium Environment Setup

Selenium Environment Setup

Selenium Test Environment Setup, Choose Software, Install Eclipse IDE, Download & Install Java, Add Selenium jar file to the Java Project. Selenium Test Environment Setup Selenium is not an all-inclusive test tool, it requires third-party frameworks & plugins to broaden the scope of testing. So first choose Selenium Tools and Other Software for Testing. Example: … Read more

Selenium Cross Browser Testing

Selenium Cross Browser Testing

Selenium Cross Browser Testing, What is Cross Browser Testing?, Popular Web Browsers, Browser Compatibility Testing using Selenium WebDriver. Cross Browser Testing with Selenium 1. What is Cross Browser Testing? Cross Browser Testing is a type of Test to check that our Web Application works as expected in different Browsers. 2. Why Cross Browser Testing? A … Read more

Selenium Data Driven Testing

Selenium Data Driven Testing

Selenium Data Driven Testing, Read Test Data from an external file (excel/text), Create Selenium Test case and connect Test data to the Test case. Selenium Data-Driven Testing Write Selenium Data-Driven Test Case, Inspect HTML Elements, Identify unique locators for Web elements, and perform actions on the web elements using Selenium Webdriver methods. Prerequisites for Writing … Read more

Page Object Model in Selenium

Page Object Model in Selenium

Page Object Model in Selenium, Create Object Repositories in Selenium, Advantages of Page Object Model, and reuse elements in Selenium Test Cases. Page Object is a Design Pattern that has become popular in test automation for enhancing test maintenance and reducing code duplication. A page object is an object-oriented class that serves as an interface … Read more

Polymorphism in Java

Polymorphism in Java

Polymorphism in Java, Java Object-Oriented Programming, Method Overloading, Method Overriding, Compile tin & Run-time Polymorphism in Java. Polymorphism in Java is a concept by which we can perform a single action in different ways. Polymorphism is derived from 2 Greek words: poly and morphs. The word “poly” means many and “morphs” means forms. So polymorphism … Read more

Exception Handling in Java

Exception Handling in Java

Exception Handling in Java, What is Exception handling, Types of exceptions in Java, Java Program Run-time Errors, and Java try-catch block. Java Exception Handling Dictionary Meaning: Exception is an abnormal condition. What is an Exception in Java? An exception is a problem that arises during the execution of a program. When an Exception occurs the … Read more

Java Inheritance

Java Inheritance

Java Inheritance, Java Object-Oriented Programming, Types of Inheritance in Java, single inheritance, multiple inheritances, and ‘extends’ keyword. Java OOP – Inheritance:  • It is a process of inheriting (reusing) class members (Fields/Variables and Methods) from one class to another. • The class where the class members are getting inherited is called Parent/Super/Base Class. • The … Read more

Java Object Oriented Programming

Java Object Oriented Programming

Java Object Oriented Programming, Class, Object, Method, Java Inheritance, Polymorphism in Java, Java Abstraction, and Java Encapsulation. Procedural programming is about writing procedures or methods that perform operations on the data, while object-oriented programming is about creating objects that contain both data and methods. Simula is considered the first object-oriented programming, Smalltalk is considered the … Read more

File Handling in Java

File Handling in Java

File Handling in Java, Java Input and Output operations, handling text files, create a file, read a file, write a file, and compare two files. File Handling in Java permits us to create, read, update, and delete the files, which are stored on the local file system. File (Text File) Handling in Java User Point … Read more