-
Continue reading →: Cypress: Create Test Data template with handlebar.js
To give bit of background on handlebar.js, it’s a library using which we can replace the data what we want within a given template. Say you have standard json or xml file which has your request body and couple of field values needs to be updated during execution, in such…
-
Continue reading →: Cypress: How to update existing test data?
If your application has import file feature for creating test data then we all know that we cant reuse the same data once uploaded and need to create new set with different naming convention and if your application under test database is not going to reset after each test run…
-
Continue reading →: Cypress: How to Dynamically update browser information to HTML Report ?
if you have integrated cypress with cucumber and generating cucumber report using “multiple-cucumber-html-reporter”, then the reporter allows to specify browser name, version, OS etc.. in the report and can be configured within report.js file. But this will become manual work. So the intention is to find out the cypress browser…
-
Continue reading →: Cypress: How to retrieve data from API request which is written inside a function ?
Cypress uses command chaining to retrieve the data yielded from previous function and using local variables isn’t the best way when you want to retrieve certain values from webpage or API response to store and pass it to next functions. There are two ways to that, one is wrap the…
-
Continue reading →: Cypress: How to assert values within List ?
Say we have a List which shows users or Products and we need to validate if that list contains one of the Product, how can we do that ? There are few ways, get the list and then use invoke(“text”) and then assert or use the .then function and loop through, but…
-
Continue reading →: How to Install and Configure TestNG in Eclipse: Tutorial
User experience is pivotal for any web application. To retain users and delight them, it is essential to deliver advanced new features every few weeks, else they might churn out, due to the availability of several options in the market. Hence, it is essential to deliver high-quality software releases in…
-
Continue reading →: NUnit Vs XUnit Vs MSTest: Core Differences
Unit testing is essential to check whether the single independent block of code is working as expected or not. While there are different Unit Testing Frameworks to choose from, .Net has three popular Unit Testing frameworks for creating and managing tests This article discussed these .Net Unit Testing Frameworks, and compare them…
-
Quick XPath Locators Cheat Sheet
Published by
on
Continue reading →: Quick XPath Locators Cheat SheetBrowser Automation requires navigation through the elements of HTML / XML pages to automate its functions for website test automation. Frameworks like Selenium use XPath to locate the elements and perform the required functions for testing. This guide discusses various aspects of XPath and how to use it. What is XPath?…
-
Quick CSS Selectors Cheat Sheet
Published by
on
Continue reading →: Quick CSS Selectors Cheat SheetBrowser Automation requires navigation through the elements of HTML / XML pages to automate its functions for website test automation. Frameworks like Selenium use CSS Selectors to identify web elements and perform the required functions for testing. This comprehensive CSS Advanced Selectors Cheat Sheet discusses various types of CSS Selectors…
-
Continue reading →: Cypress: How to click on element once it’s Visible
For clicking on a button or link with Cypress we can use below command. cy.get(“selector”).click() Cypress get(“selector”) command by default retries until element exists in DOM. But what if we need to click on the element only after it is Visible ? There comes the chaining command should(). We can chain…
