Posts

What are Java Modifiers and Operators?

Image
1. Java Modifiers Mo difiers are Java keywords that are used to declare features in applications. They affect either the lifetime or the accessibility of a feature. A feature may be a class, a method, or a variable. Modifiers that affect the visibility of a feature are called access modifiers or visibility modifiers. The remaining modifiers do not fall into any clear categorization and may be called storage and lifetime modifiers. Java modifiers are of two types : Access Modifier   Non-Access Modifier 1.1. Access Control Modifiers Java provides a number of access modifiers to set access levels for classes, variables, methods, and constructors.  The four access levels are: Default Public Private Protected 1.1.1. Default Accessible  within the same package only . No modifiers are needed.

What are OOPS Concepts in Java?

Image
Introduction Object-Oriented Programming (OOP) is a programming paradigm that is based on the concept of objects, which can contain data and code to manipulate that data. Java is a fully object-oriented programming language, and as such, it provides several key concepts that make up the foundation of OOP. In this tutorial, we will explore the main OOP concepts in Java, along with examples and code. It is based on the principles of: Encapsulation Inheritance Polymorphism Abstraction In OOPs, everything is treated as an object, which can have properties and methods that operate on those properties. Advantages of using OOPs: There are several advantages of using OOPs in programming: Modularity: OOPs allows breaking down the code into smaller, more manageable pieces known as objects. This makes the code more modular, easier to understand, and maintain.

How I learned Selenium WebDriver in just 4 weeks

Image
You can learn Selenium WebDriver yourself in just 1 month, yes you read it right! If you want above statement to work for you, then you would have to come up with a proper study plan and follow it with discipline. Discipline is the key here. Let me help you to make that study plan and also will share very useful blog posts links for the same, later in this post. Table of Content 1. My Story of becoming Selenium Professional 2. My Experiments with Selenium 3. Future of Selenium Automation Testing 4. Which language has a better career prospect with Selenium - Java or Python? 5. The 4 Weeks Plan to Learn Selenium WebDriver 6. What next after being Selenium expert? 1. My Story of becoming a Selenium Automation Professional I started my career way back in 2011 as a Manual Software Tester. I had interest in Java but didn't have much practical knowledge of it. I started learning Java slowly. It took some time to get some good  knowledge on Java. Then in 2012 I switched my first c

Find Broken Links on Webpage with Selenium Automation

Image
As an Automation Tester, you get to play with links present on the website. Links are one of the most important parts of the webpage. So, it's always important to not leave any broken links on any website. Testing the links manually could be a tough and time taking task. In this post, we'll learn to automate URL link testing. 1. What is a Broken Link? A broken link is a URL that is not working or not reachable. There are multiple reasons for its dis-functioning. There are different HTTP error status codes that the browser shows when the link is broken. These error codes have different meanings. Let's take a look at the different HTTP status codes. 200 - It means success, the link is working. 404 - It's the most common one, which means Page not found. 403 - Authorization is required to access the page.  400 - It has different meanings, bad request, bad host, timeout, etc. 500 - Internal server error. 2. Why a link broke? A link might not be working due to many reasons,

Complete Guide to Creating Emulators/AVD for Mobile App Testing

Image
1. Introduction Mobile app testing is a crucial part of the software development life cycle, ensuring that applications perform as expected on various devices and operating systems. However, testing on physical devices can be expensive and time-consuming. That's where emulators come in. Emulators are software applications that simulate real mobile devices, allowing developers and testers to test their apps without the need for physical devices. This comprehensive guide aims to provide you with a complete understanding of mobile app testing using emulators. We will explore the concept of emulators, the AVD Manager (Android Virtual Device Manager), and how to set up and configure emulators for testing. Additionally, we will delve into writing Appium test scripts to automate testing tasks and cover various aspects of interacting with emulators. By the end of this guide, you will have a solid foundation for testing mobile apps using emulators, enabling you to efficiently validate your