Posts

A Complete Guide to API Development

Image
API (Application Programming Interface) is the buzzword in the tech industry these days. It has a huge role to play in the country’s economy and thus the technology is getting the needed investment. You get APIs everywhere today for daily use so as to book tickets, make online payments, and do online activities. Take the help of a developer so as to get best advice and assistance for developing an API . In simple terms, an API is a way for computer programs so as to interact with each other. You get APIs in all kinds of websites, mobile devices, games, and software. Businesses are spreading their reach and service to customers with the help of dynamic APIs. Some of the companies are making a high amount of money using all kinds of multi-use APIs. The blog is here to highlight details about API development, different terminologies in use, and the best tools for development.   Table of Contents 1.   What Is API and How Does It Work?   2. Different Terminologies in...

What are Java Methods?

Image
In this post, we'll learn everything about Java Methods. Table of Contents What is a Java Method ? How to Create a Method ? What is a Main method in Java ? Types of Java Methods Parameterized Methods Non - Parameterized Methods How to Call a Method ? Static Methods Non - Static Methods 1. What is a Java Method? A method in Java is a group of instructions that are performed together to do a specific task. Methods are generally known as Functions in other languages like C, C++, etc.  Let's say you want to print numbers 1 to 10 in your program multiple times. So, if you have created a method with code that can print 1 to 10 numbers then you can just call that method multiple times in your program and you do not have to write the code to print 1 to 10. Java Methods have some features, let's take a look at them: Java Method can be public, private, protected, or default. Java method can or cannot return a value. If you do not want your method to return anything, you have to decla...

Web Page Testing: Best Practices for QA and Enhancing User Experience

Image
Testing a web page is an essential aspect of ensuring that it performs optimally and provides a seamless user experience. Testing involves a series of activities that are aimed at identifying and fixing issues with the web page, ensuring that it is accessible, responsive, and user-friendly. This post will discuss the various aspects of testing a web page, including the types of testing, the tools and techniques used, and the best practices for testing a web page. Table of Contents Types of Testing for Web Pages/ Website, Example, Checklist, and Tools Functional Testing Performance Testing Compatibility Testing Usability Testing Security Testing Content Testing Accessibility Testing UI Testing Demo Websites for Practicing Web Testing Best Practices for Testing Webpage / Website Conclusion Types of Testing for Web Pages/Website: There are several types of testing that can be performed on a web page. Some of the most common types of testing include: 1. Functional Testing This type of tes...

Test-aliens are here on Earth, Go slow developers!

Image
 Why should a company have a team for Software Testing and Quality Assurance? What is the need to test a software? Why shouldn't developers test their own work? When I started my career around two years back I encountered above listed queries. At that time I had no reply to these queries. But after dwelling around two years in IT sector I come along with some firm replies. All above listed questions are inter-belonging and the highlighted one was recently posted in a programmer's Q&A post, it inevitably raised my curious eyebrow. This can be a big debate. Diving straight to the point, the simple, unmistakable and well known answer is : “Developers are not very good testers.” But according to my understanding correct answer is, - “They don't want to see bugs in their code and only look for happy paths and and happy endings.” Believe me I was a developer in the past and then I moved to QA to avoid QA on my code, now I'm coding Automated Selenium Scrip...

Handle Multiple Browser Tabs and Alerts with Selenium WebDriver

Image
In this tutorial, we will learn to handle multiple browser tabs within a single Selenium script. Selenium WebDriver does not provide any commands for this task.  But we can make use of the existing Selenium commands in a smarter way to automate this scenario. Although this scenario is quite rare and you will not encounter it usually. 1. Handle Multiple Browser Tabs with Selenium Use Selenium Actions Class to Handle Multiple Browser Tabs Actions Class in Selenium is a special class which provides us very useful commands, which helps us to replicate Keyboard and Mouse events i.e., press/release any Key, move cursor, drag and drop, right click, double click etc. You can learn about Actions Class in detail here .  In our scenario, we'll make use of Key control commands of Actions class to automate open and automate multiple browsers. Let's understand the whole code logic step by step. 1.1. Launch google.com with Selenium WebDriver This is the most common part, we'll launc...