Skip to content
automationScript logoautomationScript logo
  • Home
  • Blog
  • ProtractorExpand
    • Files using JavaScriptExpand
      • How to rename a file using JavaScript
      • How to delete a file using JavaScript
    • Excel Files using JavaScriptExpand
      • Write data to Excel files
      • Read data from Excel Files
    • Web Page operations using JavScriptExpand
      • Get data from HTML table
      • Select a dropdown
      • Check/Uncheck checkbox
    • Config files for ProtractorExpand
      • With multiple browser size handling
      • With multiple environment handling
      • With Proxy handling
    • DatabaseExpand
      • Javascript SQL server database connection example
      • Javascript MSSQL Database Connection Example
  • JavaExpand
    • String Manipulations with JavaExpand
      • Prime number program using Java
      • String related methods
      • Date and Time methods
    • DatabaseExpand
      • How to read MongoDB document in java | Connect to MongoDB server
      • JDBC Database connections
    • Excel Files using JavaExpand
      • How to Write data in Excel file using Java and Apache POI
      • How to read excel file In Java- 100% Working code
      • CSV Test Data Handling using Java
      • Excel handling for automation
      • Excel Test Data handling using Java
    • Files using JavaExpand
      • Create files using Java
      • Read text files using Java
      • Write text files using Java
      • Text file Reading and Writing
  • SeleniumExpand
    • API TestingExpand
      • How to perform API Testing with REST-assured | Rest Assured API Testing with Example
    • WebpageExpand
      • How to find broken links in Selenium WebDriver
      • How to select dropdown in Selenium using the Select class
      • How to get all options from a dropdown in Selenium WebDriver
      • How to handle web table in Selenium WebDriver
      • How To Highlight Element Using Selenium WebDriver
      • How to perform Mouse Hover in Selenium WebDriver
      • Checkbox Operations
    • CucumberExpand
      • How to create Runner class in Cucumber using Java
    • Automation FrameworkExpand
      • Page object model (POM) using By Class in Selenium
      • Create Object Repository in Selenium using Properties file
      • Use JavaScriptExecutor With Selenium
      • Use ExecuteScript to run JavaScript With Selenium
  • VBScriptExpand
    • Files/Folders (FSO)Expand
      • How to read text file using VBScript – FileSystemObject
      • How to create a text file using VBScript – CreateTextFile
      • How to create a folder using VBScript – FileSystemObject
      • Delete temporary files utility
      • How to write text file using VBScript
      • Compress files using VBScript
    • Excel functions with VBScriptExpand
      • Excel handling
      • Read data from Excel files
      • Search data from Excel files
    • Common VBScript functionsExpand
      • Error Handling
      • Outlook automation
      • Date and Time related functions
  • UFTExpand
    • UFT functions for WebpageExpand
      • How to select all text using UFT- CTRL+A and CTRL+C method
      • How to verify the position of an object using UFT on a webpage
      • How to verify presence of scrollbar using UFT
      • How to verify object property using UFT
      • Change screen resolution using UFT
      • Webtable operations
    • UFT SettingsExpand
      • How to associate function library at runtime in UFT- Complete code
      • Change screen resolution using UFT
      • How to create Action Template in UFT
    • Automation FrameworkExpand
      • UFT- Automation object model
      • Add object repository at runtime in UFT
      • Outlook automation Using VBScript-Automatic Email Sender
    • Database with VBScriptExpand
      • Database connections
    • Network connectionsExpand
      • How to ping a network using VBScript
      • Upload a file through FTP using VBScript
      • Connect to a network using VBScript
      • Disable a firewall using VBScript
    • XML HandlingExpand
      • Validate XML using VBScript
      • Modify XML using VBScript
  • JenkinsExpand
    • Jenkins Job DSL and Pipeline as Code
    • How to integrate Selenium with Jenkins – Step-by-step Example
    • How to configure selenium with Jenkins – Parallel Execution complete tutorial
    • How to read console output in Jenkins during Build – 100% working code block
  • QuestionsExpand
    • Interview QuestionsExpand
      • Selenium Interview Questions
      • Top 50 API Testing Interview Questions
      • SQL Queries for Testing interview
  • #10418 (no title)
automationScript logo

Blog

VBScript

How to handle synchronization in UFT/QTP

August 8, 2023August 8, 2023

In any test automation framework, browser handling is the most important part during automation scripting.  Let’s see how to handle synchronization in UFT. which you…

Read More How to handle synchronization in UFT/QTPContinue

VBScript

How to launch chrome incognito using UFT

August 8, 2023August 8, 2023

Using UFT we can launch Chrome incognito with the help of a small program. First, we will create an object of shell and then we…

Read More How to launch chrome incognito using UFTContinue

UFT

Get menu and submenu names in the Windows application​ using UFT

August 8, 2023August 8, 2023

UFT works very well with Windows as well as web applications. To get menu and submenu names in the Windows application, we can create a…

Read More Get menu and submenu names in the Windows application​ using UFTContinue

Java

Invert a number using Java

August 6, 2023August 6, 2023

Java is a beautiful language if you know how to build your logic. This is the most important thing of all. Invert a number using…

Read More Invert a number using JavaContinue

Java

Validate prime number using Java

August 6, 2023August 6, 2023

In order to validate prime number using Java, first of all, let’s see what is a prime number. Example code: Validate prime number using java

Read More Validate prime number using JavaContinue

UFT VBScript

String reverse in VBScript without using inbuilt function

August 6, 2023August 6, 2023

String reverse in VBScript is a very common task. If you need to reverse a string in VBScript without using inbuilt reverse functions, we can…

Read More String reverse in VBScript without using inbuilt functionContinue

UFT VBScript

Verify a string is present in an array using VBScript

August 6, 2023August 6, 2023

In order to verify a string is present in an array, we will utilize the dictionary object provided by VBScript. First, we will create an…

Read More Verify a string is present in an array using VBScriptContinue

VBScript

Count Alphabetical characters using VBScript

August 6, 2023August 6, 2023

In order to count Alphabetical characters using VBScript in a string, first we need to get the characters from the given string, one char at…

Read More Count Alphabetical characters using VBScriptContinue

VBScript

Verification of Palindrome using VBScript

August 6, 2023August 6, 2023

A palindrome is a word, sentence, verse, or even number that reads the same backward or forward. For example- ATATA, BOB, 12321 In order to verify…

Read More Verification of Palindrome using VBScriptContinue

UFT VBScript

How to write data into Excel using VBscript

August 5, 2023August 5, 2023

In order to write data into Excel using VBScript, we can leverage Excel.application object. This object provides multiple methods which help us to create, open,…

Read More How to write data into Excel using VBscriptContinue

jenkins

How to configure Jenkins Global Settings

June 4, 2023June 4, 2023

In this section, we will explore the advanced configuration options available in Jenkins. We will focus on the global settings that apply to the entire…

Read More How to configure Jenkins Global SettingsContinue

jenkins

How to manage Jenkins Nodes and Distributed Builds

June 4, 2023June 4, 2023

In this section, we will explore how to manage Jenkins nodes and configure distributed builds. Jenkins allows you to distribute your build workload across multiple…

Read More How to manage Jenkins Nodes and Distributed BuildsContinue

jenkins

Jenkins Job DSL and Pipeline as Code

June 4, 2023June 4, 2023

In this section, we will explore Jenkins Job DSL (Domain Specific Language) and Pipeline as Code, which are powerful techniques for defining and managing Jenkins…

Read More Jenkins Job DSL and Pipeline as CodeContinue

cucumber

How to create Runner class in Cucumber using Java

May 17, 2023May 17, 2023

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…

Read More How to create Runner class in Cucumber using JavaContinue

Java

Read write excel file in Java and Apache POI

January 26, 2023January 26, 2023

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…

Read More Read write excel file in Java and Apache POIContinue

Java Selenium

How to use Page Factory in Selenium Page object model

January 11, 2023January 11, 2023

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…

Read More How to use Page Factory in Selenium Page object modelContinue

Java

How to read an XML file using java

January 6, 2023January 6, 2023

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…

Read More How to read an XML file using javaContinue

Java Selenium

How to read a JSON file using java

January 5, 2023January 5, 2023

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…

Read More How to read a JSON file using javaContinue

javascript

How to select a dropdown using Puppeteer

January 5, 2023January 5, 2023

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…

Read More How to select a dropdown using PuppeteerContinue

VBScript Error Handling – On Error Resume Next, On Error Goto 0
UFT VBScript

VBScript Error Handling – On Error Resume Next, On Error Goto 0

December 25, 2022December 25, 2022

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….

Read More VBScript Error Handling – On Error Resume Next, On Error Goto 0Continue

Page navigation

1 2 3 4 Next PageNext
Buy Now
Categories
  • cucumber
  • javascript
  • jenkins
  • Protractor
  • Selenium
  • Testing Methodologies
  • Testing Tools
  • Troubleshooting
  • UFT
Tags

APACHE code cucumber java javascript jenkins selenium uft vbscript

Latest Posts
  • How to handle synchronization in UFT/QTPAugust 8, 2023
  • How to launch chrome incognito using UFTAugust 8, 2023
  • Get menu and submenu names in the Windows application​ using UFTAugust 8, 2023
  • Invert a number using JavaAugust 6, 2023
  • Validate prime number using JavaAugust 6, 2023
Follow Us
  • Facebook
  • Twitter
  • GitHub
  • LinkedIn
automationScript logo
A code repository dedicated to Test Automation tools. We have commonly used code blocks for major test automation tools to setup your test automation quicker.
Just 100 % working code !
Tools
  • Selenium
  • UFT
  • Protractor
  • Jenkins
  • Cucumber
  • REST-assured
  • VBScript
  • Java
Quick Links
  • About Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
  • Sitemap
  • Contact Us
  • Guest Post
Let's Connect
Linkedin Facebook Twitter Instagram Youtube
  • contact@automationscript.com
  • +91 96432 40051
Copyright © 2023 automationScript.com
  • Home
  • Blog
  • Protractor
    • Files using JavaScript
      • How to rename a file using JavaScript
      • How to delete a file using JavaScript
    • Excel Files using JavaScript
      • Write data to Excel files
      • Read data from Excel Files
    • Web Page operations using JavScript
      • Get data from HTML table
      • Select a dropdown
      • Check/Uncheck checkbox
    • Config files for Protractor
      • With multiple browser size handling
      • With multiple environment handling
      • With Proxy handling
    • Database
      • Javascript SQL server database connection example
      • Javascript MSSQL Database Connection Example
  • Java
    • String Manipulations with Java
      • Prime number program using Java
      • String related methods
      • Date and Time methods
    • Database
      • How to read MongoDB document in java | Connect to MongoDB server
      • JDBC Database connections
    • Excel Files using Java
      • How to Write data in Excel file using Java and Apache POI
      • How to read excel file In Java- 100% Working code
      • CSV Test Data Handling using Java
      • Excel handling for automation
      • Excel Test Data handling using Java
    • Files using Java
      • Create files using Java
      • Read text files using Java
      • Write text files using Java
      • Text file Reading and Writing
  • Selenium
    • API Testing
      • How to perform API Testing with REST-assured | Rest Assured API Testing with Example
    • Webpage
      • How to find broken links in Selenium WebDriver
      • How to select dropdown in Selenium using the Select class
      • How to get all options from a dropdown in Selenium WebDriver
      • How to handle web table in Selenium WebDriver
      • How To Highlight Element Using Selenium WebDriver
      • How to perform Mouse Hover in Selenium WebDriver
      • Checkbox Operations
    • Cucumber
      • How to create Runner class in Cucumber using Java
    • Automation Framework
      • Page object model (POM) using By Class in Selenium
      • Create Object Repository in Selenium using Properties file
      • Use JavaScriptExecutor With Selenium
      • Use ExecuteScript to run JavaScript With Selenium
  • VBScript
    • Files/Folders (FSO)
      • How to read text file using VBScript – FileSystemObject
      • How to create a text file using VBScript – CreateTextFile
      • How to create a folder using VBScript – FileSystemObject
      • Delete temporary files utility
      • How to write text file using VBScript
      • Compress files using VBScript
    • Excel functions with VBScript
      • Excel handling
      • Read data from Excel files
      • Search data from Excel files
    • Common VBScript functions
      • Error Handling
      • Outlook automation
      • Date and Time related functions
  • UFT
    • UFT functions for Webpage
      • How to select all text using UFT- CTRL+A and CTRL+C method
      • How to verify the position of an object using UFT on a webpage
      • How to verify presence of scrollbar using UFT
      • How to verify object property using UFT
      • Change screen resolution using UFT
      • Webtable operations
    • UFT Settings
      • How to associate function library at runtime in UFT- Complete code
      • Change screen resolution using UFT
      • How to create Action Template in UFT
    • Automation Framework
      • UFT- Automation object model
      • Add object repository at runtime in UFT
      • Outlook automation Using VBScript-Automatic Email Sender
    • Database with VBScript
      • Database connections
    • Network connections
      • How to ping a network using VBScript
      • Upload a file through FTP using VBScript
      • Connect to a network using VBScript
      • Disable a firewall using VBScript
    • XML Handling
      • Validate XML using VBScript
      • Modify XML using VBScript
  • Jenkins
    • Jenkins Job DSL and Pipeline as Code
    • How to integrate Selenium with Jenkins – Step-by-step Example
    • How to configure selenium with Jenkins – Parallel Execution complete tutorial
    • How to read console output in Jenkins during Build – 100% working code block
  • Questions
    • Interview Questions
      • Selenium Interview Questions
      • Top 50 API Testing Interview Questions
      • SQL Queries for Testing interview
  • #10418 (no title)