Sign in

  1. Use you preferred browser and navigate to https://www.microfocus.com/en-us/products/loadrunner-professional/download
Download page

  1. As the first step, create a maven project in Intellij
maven project window

  1. Go to your console
  2. Execute the following command “firefox --new-instance --ProfileManager”.

  1. create a maven project
  2. Pick any name for the project and finish it.
  3. Open the pom.xml in the project
  4. Include additional libraries that we will use in the project. These information includes in the Dependencies section of the pom.xml
sample pom.xml file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"…


  1. You need to create an object from Buffered Reader class.
  2. Specify the file location which you need to read.
  3. If file has some content, you are reading the file until it becomes null.
sample code of buffer reader class
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.FilterReader;
import java.io.IOException;

public class RD {
public static void main(String[] args) {
BufferedReader reader;
try {
reader = new BufferedReader(new FileReader(
"/home/AA/IdeaProjects/Microsoft1/out/production/Microsoft1/HelloWorld.txt"));
String line = reader.readLine();
while (line != null) {
System.out.println(line);
// read next line
line = reader.readLine();
}
reader.close();
}
catch (IOException e) {
e.printStackTrace();
}
}


}

Chalitha

Software Quality Assurance Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store