Home > Java

File Upload Using Windows Automation Tool And Selenium

Here are the step to upload file using selenium Click on Select file / Select button (This part could be handled using Selenium) Select file from open dialogue box(This part could not be handled using selenium) Click on Upload or Upload file button. File Upload for INPUT tag with TYPE ="file" Example Url: If

This Article is TAGGED in , , . Read more

Java library for text file operations

To perform text file operation like Create File, Compare Text file, Replace words etc we have created jar which you can download Attached Zip File: TextUtility  After extracting zip file you will get jar file which contains below functionality which is extremely easy to use. Functions appendLine → Read Text File and append new

This Article is TAGGED in , , , , . Read more

How to use XPath Extractor in JMeter?

XPath extractor is post processor component of JMeter. XPath extractor extracts text from the HTML response based on XPath query provided. To use XPath extractor in the Test plan we need to add it as a child element of HTTP Request sampler. Example to use XPath Extractor in JMeter Test plan Step 1:

This Article is TAGGED in , , , . Read more

How to use Non GUI mode in JMeter

JMeter provides simple and user friendly GUI to users. Using the JMeter GUI mode user can use elements like Thread Group, samplers, Processors, Controllers, Timers etc. JMeter GUI mode also gives the facility to view and analyze the result of the script using different types of Listeners. Apart from the above

This Article is TAGGED in , . Read more

JMeter Tutorial

JMeter is an open source platform independent tool released on 15th Dec 1998. It was developed by Stefano Mazzocchi of the Apache Software Foundation. JMeter is mainly used for load testing along with API testing. Installation and Introduction of JMeter Install and Launch JMeter on Windows JMeter sample script JMeter Components Core JMeter Components and

This Article is TAGGED in , . Read more

MS SQL connection using JDBC in Selenium

To connect MS SQL database using jdbc driver in java, we need to download jdbc driver for MS SQL server. Refer below link to download MS SQL jdbc driver file.  Add external Jar file to project: Right click on project, Go to properties → Java Build Path → Click on Library tab  Add external

This Article is TAGGED in , . Read more

Selenium WebDriver Locator: Class Name

Locator Type: Class Name Class attribute in HTML element used to apply style or select web element(s) JavaScript functions.  One class attribute could contain multiple classes separated by space and it is called as composite class.  Class attribute need not to be unique like id.  Java code to find web element using class attribute value.  [crayon-6766e53b1efb3421007317-i/] Steps to

This Article is TAGGED in , , , . Read more