How to create Runner class in Cucumber using Java
Cucumber is a BDD-based tool that works well with selenium and many other tools. Here we have a sample Runner class to be used with…
Cucumber is a BDD-based tool that works well with selenium and many other tools. Here we have a sample Runner class to be used with…
In order to read write excel file in Java and APACHE POI, we can use this method which uses FileInputStream, and XSSFWorkbook to get into…
Test Automation frameworks based on the Page object model design pattern and Page Factory in Selenium WebDriver help to keep the locators separate from the…
To read an XML file using Java, you can use the javax.xml.parsers.DocumentBuilder class and its parse method. Here is an example of how you might…
To read a JSON file using Java, you can use the org.json library. Here’s an example of how you can use this library to read…
You can select a dropdown using Puppeteer by following these steps: First of all, find the element on the page using a DOM selector. You…
VBScript Error handling in UFT automation scripts is very important like in any other language. We have some very common VBScript examples to demonstrate it….
Suppose that there is a webtable on the page and you have a column name. Now if you want to get the column index in…
In order to get most repeated value from excel using VBScript, we have a ready-to-use function created in VBScript. All you need to do is…
In javascript-based test automation projects, if you need to rename a file using javascript, you can do that by using fs node package. These are very important…
In test automation projects, if you need to delete a file using javascript, you can leverage the ‘fs’ node package. These are very important for any Javascript-based…
The function library is the backbone of any test automation framework. You can associate function library at runtime using AOM. It is designed to handle…
We have to verify object property using UFT in almost every automation script we create while working on any test automation project. Here we have…
There may be some instances where you need to copy and paste or select all text using UFT. This can be achieved in many ways…
We can verify the position of an object using UFT by utilizing two properties named clientWidth and offSetLeft. Suppose that we have two elements namely…
We can verify presence of scrollbar using UFT very easily when we have a scrollbar present on the screen. In order to verify the presence…
Given the popularity of cloud technology, knowing How to integrate Selenium with Jenkins pipeline has become very important. Jenkins is the most famous tool for CI-CD….
Let’s take a look at how to configure Selenium with Jenkins. Since Jenkins is a very important tool that helps us in many ways in…
When you run a job in Jenkins, it generates a console output at run time which can be seen during a build. There are some…
In order to read text file using VBScript, we can use multiple methods provided by FileSystemObject. FSO provides three functions i.e. read, readline, readall. These…