Testing

Cypress: How to retry failed test cases and log the console error on command line?

Reading Time: 3 minutes In our previous blog “How to load chrome extension in cypress.io” we explained How to get an unpacked version of an extension from the chrome web store? How to load chrome extension in our application under test? What are the related configuration changes needed to load an extension in cypress? Here we will discuss: How to add retry ability in our test scripts? How to Continue Reading

Date Picker Made-Easy using Selenium

Reading Time: 3 minutes What’s this blog all about? Folks, it’s selenium 3(stable) already! Thinking about how date picker works made me write this blog post! As a part of learning selenium webdriver, you all must have gone through different date pickers. Every e-commerce, banking, insurance, travel websites plus rewards and sales portals and other applications use different calendars for picking up the date. With the course of UI Continue Reading

TestNG Listners: ITestlistners in TestNG(Part 1)

Reading Time: 3 minutes TestNG provides the @Listeners annotation which heedfully auricularly discerns every event that occurs in a selenium code. Listeners are activated either afore the test or after the test case. It is an interface that modifies the TestNG comportment. For example, when you are running a test case either through selenium or appium and suddenly a test case fails. We require a screenshot of the test Continue Reading

Mocking The Right Way

Reading Time: 3 minutes Mockito is a fun way to perform unit tests, but it’s true potential can only be realised if the underlying layers are designed in such a way that there is no interaction with the internal logic of other components of the application.

Monkey patching in NodeJS

Reading Time: 3 minutes Hey guys, I am back with another blog in my series of blogs on mocking in nodeJS, so if you have read my last blog, in which we looked over how we can use sinon for testing in nodeJS to effectively mock and stub behaviours, so in this blog we would look over the concept of monkey patching to make things more testable, so let’s Continue Reading

Spies and Stubs in NodeJS

Reading Time: 3 minutes Hi folks, my last two blogs we discussed about how we can use monkey-patching to test complex code logic which could be difficult to test if it is not used, along with that we also looked over how can stub or mock behaviours of our dependencies using sinon, in this blog we would be exploring more utilities provided by sinon i.e; Spies and Stubs. Spies Continue Reading

Introduction to Appium and it’s Drivers – 2

Reading Time: 3 minutes In the previous blog we discussed different drivers which are supported by Appium. https://blog.knoldus.com/introduction-to-appium-and-its-drivers/ . In this blog we will learn about emulator, and installing GUI version of on Ubuntu. Emulator Setup An emulator is a software which uses computer resources to behave like another computer system. Using emulator we can emulate any android device on our local computer system. We can use AVD (Android Continue Reading

Nuts and Bolts Of Appium

Reading Time: 4 minutes Hello everyone, in this blog, I will be sharing some basic concept and installation process of Appium on your Linux system. In a job profile like QA you should be open to work on any kind of technology stack based on your project. You should not limit yourself to a specific skill set. In short as a QA you should be able to assure the Continue Reading

Testing Node.Js Application with Gatling

Reading Time: 2 minutes In one of our project we needed to test a node.js application, so in this blog, I’ll be discussing node.js application using Gatlingjs. Gatlingjs Gatlingjs is an npm library to run gatling from a node.js project by placing the simulation files in your project repository. Prerequisites In order to setup Gatling, your system should have JDK8 and Scala installed so following are the links to Continue Reading

Setting up cucumber and sbt in IntelliJ

Reading Time: 3 minutes If you want to look into a starter project where cucumber feature file can be run right from IntelliJ IDEA with sbt as a build tool, this blog is a perfect match.  I will put the below ingredients and complete recipe on how to write a feature file and plug it in with your implementation steps in IntelliJ IDEA. Ingredients: build.sbt First three lines may Continue Reading