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
automationScript logo

java

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

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

How to Write data in Excel file using Java and Apache POI
Java Selenium

How to Write data in Excel file using Java and Apache POI

November 25, 2022November 27, 2022 Updated onNovember 27, 2022

Similar to reading data from an excel file, you would require to write data in excel file using java in your test automation. Read further…

Read More How to Write data in Excel file using Java and Apache POIContinue

How to read excel file In Java- 100% Working code
Java Selenium

How to read excel file In Java- 100% Working code

November 25, 2022November 27, 2022 Updated onNovember 27, 2022

Any type of testing requires test data in Test automation Let’s see how we can read Excel file in Java and use that in Selenium…

Read More How to read excel file In Java- 100% Working codeContinue

How to handle web table in Selenium WebDriver
Java Selenium

How to handle web table in Selenium WebDriver

November 21, 2022November 21, 2022

WebTables are a very important part of any web-based application and Often we come across a scenario where we have to validate data in a…

Read More How to handle web table in Selenium WebDriverContinue

How to select dropdown in Selenium using the Select class
Java Selenium

How to select dropdown in Selenium using the Select class

November 20, 2022November 21, 2022 Updated onNovember 21, 2022

In any web-based application, drop-downs are used to help the end user to select a value from a set of predefined values. e.g. Selecting a…

Read More How to select dropdown in Selenium using the Select classContinue

How to get all options from a dropdown in Selenium WebDriver
Java Selenium

How to get all options from a dropdown in Selenium WebDriver

November 20, 2022November 21, 2022 Updated onNovember 21, 2022

In order to get all options from a dropdown in Selenium WebDriver, we can utilize the same Select class, which we use to select a…

Read More How to get all options from a dropdown in Selenium WebDriverContinue

Prime number program using Java
Java Selenium

Prime number program using Java

November 19, 2022November 21, 2022 Updated onNovember 21, 2022

In interviews, you may be asked to write a program for how to validate if a given number is a prime number using Java. Validating…

Read More Prime number program using JavaContinue

Buy me a coffee! :)
Buy me a coffee! :)
Categories
  • cucumber
  • javascript
  • jenkins
  • Protractor
  • Selenium
  • Testing Methodologies
  • Testing Tools
  • Troubleshooting
  • UFT
Tags

APACHE code cucumber java javascript jenkins selenium uft vbscript

Latest Posts
  • Best UFT Synchronization method – How to handle dynamic wait in UFT/QTP using readyState value 4August 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