PinnedMember-onlyWinAppDriver: First step into Windows app Test automation using WebdriverIO and WinAppDriver.Boiler Plate Code: https://github.com/praveendvd/webdriverIO_winappdriver_boilerplate Read the theory: Let us start by understanding how easy is device Automation: let's see what is automation is all about Old implementation: So previously there were no standards on device or web automation. Each device vendor releases a utility or tool called a driver that knows how to automate their product. so for…Webdriverio6 min read
PinnedMember-onlyCreating Allure report with cucumber 6 (TestNG):Introduction: In my previous article (link), I have explained how you can create custom reports by overriding the concurrentListner class. This is handy knowledge as an engineer as it shows how reporters are actually implemented in the cucumber framework. But when implementing projects you don’t have to repeat these boilerplates codes…Testng Framework2 min read
Apr 14Member-onlyBinary search explained:Binary search is one of the highly efficient search algorithm with a complexity of log(n) as here we divide the target array to half n/2 each time till we get the target item , so for an array of size 8 . we get the element with in 3 operation. …Binary Search3 min read
Apr 14Member-onlyWriting cleaner code by avoiding switch case and nested if in Javascript:There are ways in which you can reduce number of lines of code and make the code looks cleaner. One way is to avoid switch statements and nested loop for example lets see the below functions: simple switch statements: here we are using switch , this code can be made cleaner as…Java Script1 min read
Apr 14Member-onlyBig O notation : Understanding different time complexitiesWe already discussed what is Big O and how it helps in writing more clean codes by avoiding nested loops and improving efficiency. Big O notation : First step to clean code What is Big O notation?medium.com But we haven’t explained Big O types explicitly and how to figure out how to find complexity for a algorithm. …Big O4 min read
Feb 18Member-onlyLearning to use jest for unit test: Creating a npm command line Utility — Part 3Description: This is continuation of “How to create a npm commandline utility” we have already setup our utility that takes in user input using inquirer or yargs and displays “Hello User!” Please have the setup ready, now we will see how to test this using Jest We will see how to…Jest7 min read
Feb 16Member-onlyLets get user inputs using inquirer and Yargs — Creating a npm command line Utility — Part 2now lets see how we can get user inputs to over commandline uility Description: We have seen how to create a simple command line utility that prints “Hello User!”. Now we will see how we can accept user inputs and print the input instead of the hardcoded value Please Read…Nodejs5 min read
Feb 7Member-only“How to create a nodejs command line utility using cjs and typescript” — Part 1Description: This article series gives you a basic Idea on how to create a opensource command line utility project using Nodejs, Github Actions, and Jest This article specifically focusses on creating a simple commandline utility using typescripe and cjs in nodejs. See the package i created : https://www.npmjs.com/package/postman-collection-url-updater Finding the…Package6 min read
Nov 5, 2021Member-onlyIntroduction to Typescript world — Part 3 : Important typesBefore starting: You can use typescript playground to execute and learn the below topics TS Playground - An online editor for exploring TypeScript and JavaScript The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.www.typescriptlang.org Types in Typescripts: In typescript we have to specify the type of each identifier ( variables), so that only actions for that particular type that is available is allowed to be called. This makes the code more safer and…Typescript7 min read
Nov 3, 2021Member-onlyIntroduction to Typescript — Part 2 : Creating ts config file.We have seen what is typescript , why we use it and so on , in our previous blog. There we mentioned that typescript is a superset of javascript and adds more compiler and syntax rules that helps us to do static type and error checking, which helps in…Typescript2 min read