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 readWebdriverio6 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 readTestng Framework2 min read
Jan 23Member-onlyHow to handle css entities in locators and textWhat are entities in web ? Entity - MDN Web Docs Glossary: Definitions of Web-related terms | MDN An HTML entity is a piece of text ("string") that begins with an ampersand (&) and ends with a semicolon (;). Entities…developer.mozilla.org An HTML entity is a piece of text (“string”) that begins with an ampersand (&) and ends with a semicolon (;). Entities are frequently used to display reserved characters (which would otherwise be interpreted as HTML code), and invisible characters (like non-breaking spaces). …CSS2 min readCSS2 min read
Jan 9Member-onlyHow to use Typescript files inside Javascript file?Introduction: Assume we have a javascript file called start.js , and we want to import the checkFile.ts into it. As typescript is superset of javascript , we cannot theoretically use typescript in javascript . This limitation can be overcome using ts-node , a transpiler (ts to js converter) ts-node can…Typescript3 min readTypescript3 min read
Apr 14, 2022Member-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 readBinary Search3 min read
Apr 14, 2022Member-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…JavaScript1 min readJavaScript1 min read
Apr 14, 2022Member-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 readBig O4 min read
Feb 18, 2022Member-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 readJest7 min read
Feb 16, 2022Member-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 readNodejs5 min read
Feb 7, 2022Member-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 readPackage6 min read