File Handling

File Handling | Reading data from word document(.doc or .docx) in JAVA.

Reading data from word document(.doc or .docx) in JAVA is similar as we have done for Excel. Visit the below article, to know the process to read data from an Excel file. http://www.allinoneblogs.com/java-tutorials/file-handling/reading-data-from-excel-files/ Reading data from Word files tempdata.doctempdata_1.docx Steps to Read the word File Step #1 Firstly, create two-word documents, one with tempdata.doc and other …

File Handling | Reading data from word document(.doc or .docx) in JAVA. Read More »

File Handling | Reading data from Excel files (.xls or .xlsx) using JAVA.

Reading data from Excel files (.xls or .xlsx) using JAVA. Reading excel file is simple and easy if follow it step by step. To read and write data into an excel file, we need the third party library files. We can download it from the below link: https://poi.apache.org/download.html Just unzip and add to your project …

File Handling | Reading data from Excel files (.xls or .xlsx) using JAVA. Read More »

File Handling | Writing data into an Excel(.XLSX or .XLS) File.

Writing data into an Excel(.XLSX or .XLS) File using JAVA. Overview of the Program Locate path and filename where the new excel file will be created using File Class. Load the newly created file into FileOutputStream Class, so that new content can be written in it. Create workbook using XSSFWorkbook class. Create sheet in the …

File Handling | Writing data into an Excel(.XLSX or .XLS) File. Read More »

File Handling | Copy existing data from one workbook to another workbook in Java.

Copy existing data from one workbook to another workbook in Java using File Handling. We have to copy existing data from one workbook to another workbook in Java. Example: This includes all the sheets and its content from input workbook as mentioned in the below example. Overview of Program As per the above screenshot, we clearly …

File Handling | Copy existing data from one workbook to another workbook in Java. Read More »

File Handling || Multiple file creation using template based input data.

In our previous chapter, we have learned “How to read and write data into a text file?”. In this chapter, we learn how to create multiple files using a Template. The data in these templates would be populated from another file which is called Input datafile. Understand template-based file handling Getting the content and structure …

File Handling || Multiple file creation using template based input data. Read More »

   YouTube ChannelQuora

            Ashok Kumar is working in an IT Company as a QA Consultant. He has started his career as a Test Trainee in manual testing in August 2010. Then he moves towards the automation testing after 4 years. He started learning JAVA and Selenium by self to get the knowledge of automation.

       While learning these tools and working on multiple projects, he found that sometimes people get stuck in live scenarios in their project and they have to do lots of RnD to get out of it. So he decided to start blogging only for such scenarios, where anyone facing any problem in their project, can ask any question or give a solution or you can say an alternate solution to achieve the goal successfully.

Later on, he observed that some people want to learn Java but they have few questions in their mind like how to start Java, whether we should go for the online or offline course. So he started writing tutorials on Java, Jira, Selenium, Excel etc.