Javascript

Visualizing data - abstract purple background with motion blur, digital data analysis concept

D3.js Bar Chart: Build Interactive JavaScript Charts and Graphs

Reading Time: 7 minutes Recently, we had the pleasure to participate in a machine-learning project that involved libraries like React and D3.js. Among many tasks, I developed a few d3 bar charts and line charts that helped to process the result of ML models like Naive Bayes. In this article, I would like to present my progress with D3.js so far and show the basic usage of this javascript Continue Reading

background

Working and functioning of Promises in Javascript

Reading Time: 4 minutes Promises In JavaScript, asynchronous operations are handled through promises. When dealing with several asynchronous activities, where callbacks might lead to callback hell and incomprehensible code, they are simple to manage. Events or callback functions were being used before the promises, but they provided limited functionality and resulted in unmanageable code. The callback hell that would result from having several callback functions would make the code Continue Reading

background

Modify The DOM Behaviour In Angular: Angular Directives

Reading Time: 3 minutes Angular is a client-side web app creation technology. There are multiple ways to manipulate DOM behavior in Angular, but today we are going to learn Angular, one of the most asked topics in an interview Angular Directives. Angular Directives One of the hottest topics in angular is angular directives. Angular directives are used to manipulate DOM( Document Object Model) or add new behavior. In Simple Continue Reading

Young Asian software developer working over new program

Understanding the concept of Closures in Javascript

Reading Time: 3 minutes Introduction You must have worked with Javascript functions and closure is an essential concept of functions in javascript. So, in this blog, we will understand the concept of Closures in javascript and how it works. Firstly we will understand the concept of lexical scoping. Lexical Scoping Lexical scope is the ability of a function to access variables outside its scope i.e. from the parent scope. Continue Reading

How to use Hooks and Tags in Cypress

Reading Time: 4 minutes Hello Readers, Today we will learn about Hooks and Tags their significance, and how to use them in Cypress. What is Cypress? The Cypress tool is a JavaScript testing automation solution used for web automation. It enables teams to create web test automation scripts. This solution aims to facilitate frontend developers and test automation engineers to write web tests in the web language that is JavaScript for web Continue Reading

How to work on JavaScript with RegExp?

Reading Time: 4 minutes What Are Regular Expressions? This is a sequence of characters used to match character combinations in strings for text matching/searching. Regular expressions in javascript are search patterns (JavaScript objects) from sequences of characters. RegExp makes searching and matching strings easier and faster. How to Create RegExp Objects in JavaScript? Regular expressions in JavaScript are created with the RegExp object. Literal Notation Literal notation is one method of Continue Reading

Introduction to the Cypress Project Structure

Reading Time: 4 minutes Hi Folks,In this blog, we talk about the Cypress Project structure that is fundamentally and architecturally different from other test automation frameworks.We use this folder to store data objects or external pieces of static data that we use throughout the tests Cypress Folder Structure Let’s understand the folder structure in cypress project, it defines entire architecture and the workflow of whole system If we know Continue Reading

How to Perform Assertions in Cypress

Reading Time: 3 minutes Hello Readers, Today we will learn about assertions their significance, and how to use them in Cypress. What is Cypress? The Cypress tool is a JavaScript testing automation solution used for web automation. It enables teams to create web test automation scripts. This solution aims to facilitate frontend developers and test automation engineers to write web tests in the web language that is JavaScript for web test automation. Continue Reading

Working on report

How to Generate Junit Reports in Cypress

Reading Time: 2 minutes Hi Readers,In this blog, we will learn about how to generate Junit Reports in Cypress. Cypress Cypress is a free, open-source, and end-to-end testing framework for web test automation. It helps developers to write automated web tests in Javascript. It is a front-end and back-end test automation tool for the next generation of modern web applications. Many big companies like Alibaba Travels, and CircleCI uses Continue Reading

Run your aggregation queries at a speed of 14x without spending $$$

Event Bubbling and Capturing in Javascript

Reading Time: 3 minutes Introduction In Javascript, you must have worked with the events. In this blog, we will be going through two important concepts in Javascript related to events i.e. Event bubbling and Event Capturing. Both of these concepts are related to the propagation of events which we call Event Flow. So, let us understand these concepts. Bubbling Event Bubbling is the concept of the sequence of invoking Continue Reading

How to write data-driven framework using Cypress?

Reading Time: 3 minutes In this blog, we will see how to write data-driven framework using Cypress. Cypress is an end-to-end testing framework for web test automation. Therefore, it enables the writing of automated web tests in JavaScript. Here, we will see a data-driven framework using Cypress. The use of JavaScript makes Cypress automation more intuitive. Cypress has been used as a data-driven framework with the help of fixtures. Certainly, Continue Reading

Scenarios And Executors In Grafana K6:A Quick Overview

Reading Time: 5 minutes Hello there, buddies! With the aid of Grafana k6, we will investigate scenarios and executors in the load testing tool with various sorts of APIs in this brief blog. But you might be wondering what the situations are and why we employ them. So, let’s start with the fundamental concepts of scenarios. Scenarios are a grouping of transactions or scripts that we use to imitate Continue Reading

How To Execute Tests Parallelly using Cypress And GitHub Actions

Reading Time: 3 minutes Hello Readers!!In today’s world when the time is money, it is very important to lower the operational time for various actions. The same goes with test execution. One of the popular ways to achieve execution of more test cases in lesser time is by parallel test execution. Before learning how to execute tests parallelly using Cypress, let’s have a walkthrough of Parallel Test Execution and Continue Reading