Working with Arrays and Objects in Javascript

Arrays Arrays in JavaScript are a data structure that allows you to store multiple values in a single variable. The values can be of any type, including numbers, strings, or even other arrays. To define an array, we can either use brackets or object notation. ArrayExamples.js There are several built-in methods for manipulating arrays, such …

Javascript–Variables and Data Types

Javascript is a Dynamically Typed language meaning the Interpreter assigns variables a type at runtime based on the type of data in the variable at that time. Javascript is one of the dynamically typed or untyped languages. How do we declare the variable in Javascript. Very simple!! No need to mention the type of variable. …

IDE for Javascript and Typescript

Anyone coming from Java background mostly will be using either Eclipse or IntelliJ Idea. For automation testing with tools like Cypress and Playwright with Javascript it would be good to use Microsoft Visual Studio Code. My favourite IDE for automation with Javascript is VS Code. Let us see how to start using it. Download VS …

Javascript–first program

Okay, let’s start writing Javascript!! There are two code snippets here, first one is JavaScript and second one is HTML. Write both these in a Notepad and save as index.html and simplejs.js. Keep both in the same folder and open the html file in a browser. When the file opens, it will be blank. Right …

Learning Javascript and Typescript for Test Automation

In the Information technology industry, there is a constant upgradation of tools and technologies every year. As IT professionals, we need to upgrade ourselves as well. For example, most of the big businesses are moving towards cloud because of its high scalability and low cost. Devops and DevSecOps have become de facto standards. In the …

SOAP Web services

Introduction Web service is a well-defined, self-contained software function provided over the internet. The web service is explained in detail in this post (link to post) that explains questions such as "What is a web service?", "What are the components of a web service?", etc. Background Enterprises containing existing legacy applications and databases might need …

Web services – Introduction

Enterprise software architectures have been using many ways of communication technologies in order to share data or business rules between applications. One of them is to define an integration layer to coordinate the communication between the systems. Service oriented architecture (SOA) is another way of integration. Choosing between the different integration techniques depends on the …