Robotics Process Automation
Robotics Process Automation
A PROJECT REPORT
Submitted by
RAMJETH MALANI .M 422222114322
SACHIN .D 422222114323
SATHISH KUMAR .M 422222114325
SENTHILKUMARAN .R 422222114326
VIJAY .V 422222114330
BACHELOR OF ENGINEERING
in
BONAFIDE CERTIFICATE
Certified that this project report “MOVE AND RENAME ” is the bonafide work
of RAMJETH MALANI .M (422222114322), SACHI .D (422222114323) , SATHISH
KUMAR .M (422222114325), SENTHILKUMARAN .R
(422222114326), VIJAY .V (422222114330) who carried out the project work under
my supervision.
SIGNATURE SIGNATURE
Dr.A.JAGAN, M.Tech., Ph.D., Ms.T.PRAVEENA, M.E.,
HEAD OF THE DEPARTMENT SUPERVISOR
Department of CSE Assistant Professor
Surya Group of Institutions Department of CSE
Vikiravandi – 605 652 Surya Group of Institutions
Vikiravandi – 605 652
I extend my heartfelt thanks to our Principal Dr. M. SANKAR., M.E., Ph.D. for
guiding me with great support.
I would like to express our sense of profound gratitude and indebtedness to MRs.
T.PRAVEENA, M.E., Assistant Professor, Department of CSE., for her invaluable
guidance, suggestions and timely supervision for the successful completion of the project.
I would like to extend my warmest thanks to all my lab technicians for helping me in
this venture unflinching support and encouragement from the members of my family, friends
and staff members in SURYA GROUP OF INSTITUTIONS SCHOOL OF
ENGINEERING AND TECHNOLOGY helped me long way to complete my project work.
I must thank them all from depth of my heart.
ABSTRACT
The project titled "Move and Rename" aims to develop a system for managing
file operations using UiPath. The primary objective is to streamline file management
tasks, making them more intuitive and less time-consuming. The methodology
findings include addressing common issues like accidental overwriting and difficulty
locating files. The system provides clear prompts and confirmations, maintaining a log
of actions. The user interface is designed to be intuitive. Future work may involve
expanding capabilities and integrating with cloud storage solutions. The project's
success highlights the importance of thoughtful design and thorough testing. The
scalability of the system ensures it can handle a large number of files and directories
without performance degradation, making it suitable for both individual users and
organizations. This project demonstrates the potential for improving everyday file
management tasks and provides a valuable tool for users of all skill levels. The use of
UiPath as the primary automation tool ensures that the system is both powerful and
accessible. The project's success underscores the importance of addressing user needs
through thoughtful design and rigorous testing, paving the way for future innovations
in file management.
TABLE OF CONTENTS
1 INTRODUCTION 1
1.1 Background of the project 1
1.2 Objectives 1
1.3 Scope of the project 1
1.4 Overview of UiPath and its relevance
to the project 1
2 LITERATURE REVIEW 2
2.1 Review of existing methods and
technologies related to file management 2
2.2 Comparison of different approaches 2
2.3 Relevance of UiPath in automation 2
3 METHODOLOGY 4
3.1 Detailed description of the methods
and tools used for the project 4
3.2 Flowchart or diagram of the process 4
3.3 Explanation of the UiPath workflows
Created 5
4 IMPLEMENTATION 6
4.1 Step-by-step explanation of implementation 6
4.2 Code snippets and explanations 7
4.3 Screenshots of the UiPath workflows 8
6 CONCLUSION 13
6.1 Summary of the project 13
6.2 Key findings 13
6.3 Future work and recommendations 13
APPENDIX
UiPath Workflows 15
Code Snippets 20
Test Cases 22
User Manual 24
Project Documentation 26
REFERENCES 28
CERTIFICATE 29
LIST OF FIGURES
2 Output 10
7 File Selection 15
9 Move File 17
BS Batch Scripts.
AT Automation Tools.
OBJECTIVES
The scope of the project includes the development of a system that can:
Move files from one directory to another.
Rename files based on user-defined criteria.
Provide clear prompts and confirmations before performing
file operations.
Maintain a log of all actions performed for accountability
and tracking.
File management has evolved significantly over the years, with various
methods and technologies developed to enhance efficiency and user experience.
Traditional methods include manual file handling, which is time-consuming and
prone to errors. Modern approaches leverage software tools and automation to
streamline these tasks. Technologies such as batch scripts, command-line tools, and
graphical user interfaces (GUIs) have been widely used for file operations. However,
these methods often require technical expertise and can be challenging for non-
technical users.
4. Automation Tools:
Tools like UiPath provide a comprehensive solution by combining ease
of use with powerful automation features. They allow users to create
workflows that automate repetitive tasks, reducing the risk of errors and
improving efficiency.
The "Move and Rename" project utilizes UiPath, a leading automation tool,
to develop a system for managing file operations. The project follows a structured
methodology divided into several phases: requirement analysis, design,
implementation, testing, and deployment.
The UiPath workflows for the "Move and Rename" project are designed to
automate the file management tasks efficiently. The workflows include:
1. Requirement Analysis:
o Identified the specific needs for moving and renaming files.
o Gathered user requirements and defined the scope of the project.
2. Design:
o Created a detailed plan for the system architecture.
o Designed the user interface to be intuitive and user-friendly.
o Planned the backend logic for file operations.
3. Development:
o File Selection: Developed a workflow to allow users to select files
from a directory.
o Validation: Implemented validation checks to ensure no conflicts,
such as duplicate file names.
o Move Operation: Created a workflow to move files to the
specified location.
o Rename Operation: Developed a workflow to rename files
based on user-defined criteria.
o Confirmation: Added a confirmation step to notify users
of successful operations.
o Logging: Implemented a logging mechanism to keep track of
all actions performed.
4. Testing:
o Conducted unit tests to ensure each component works correctly.
o Performed integration tests to verify that all components
work together seamlessly.
o Conducted user acceptance testing to ensure the system meets
user requirements.
5. Deployment:
o Deployed the system for user access.
o Provided documentation and user manuals to assist users
in operating the system.
CODE SNIPPETS AND EXPLANATION
The implementation of the "Move and Rename" project using UiPath yielded
significant results. The system successfully automated the file management tasks,
allowing users to move and rename files efficiently. The key results obtained include:
Validation of User Input: Ensuring that user input was valid and
did not result in conflicts (e.g., duplicate file names) was a
significant challenge. This was addressed by implementing robust
validation checks and providing clear error messages to users.
Fig 2. Output
Fig 3. Input folder Before Process
The "Move and Rename" project aimed to develop a robust and efficient
system for managing file operations using UiPath. The primary focus was on moving
and renaming files within a directory to streamline file management tasks, making
them more intuitive and less time-consuming for users. The project involved several
phases, including requirement analysis, design, implementation, testing, and
deployment. The system was designed to address common issues such as accidental
overwriting of files and difficulty in locating files after they have been moved.
KEY FINDINGS
CONTENT:
o Description: This step assigns the file paths from the input
folder to the variable fileArray.
o Diagram
Step 2: Use the For Each Activity to Select All the Files
o Code:
For Each file In fileArray '
Body section
Next
o Code:
Try
' Validation to check for duplicate file names
If File.Exists(Path.Combine(processedFolderPath,
Path.GetFileNameWithoutExtension(fileArray(index)) + "_Processed" +
Path.GetExtension(fileArray(index)))) Then
Throw New Exception("Duplicate file name detected: " &
Path.GetFileName(fileArray(index)))
End If
' Move the file if no duplicates are found
File.Move(fileArray(index),
Path.Combine(processedFolderPath,
Path.GetFileNameWithoutExtension(fileArray(index)) + "_Processed" +
Path.GetExtension(fileArray(index))))
Catch ex As Exception '
Handle exceptions
LogMessage("Error: " & ex.Message)
End Try
o Diagram:
Diagram:
CONTENT:
Explanation: This snippet assigns the file paths from the input folder to the variable
fileArray.
Step 2: Use the For Each Activity to Select All the Files
' Iterate through each file in the fileArray
For Each file In fileArray
' Body section
Next
Explanation: This snippet includes a validation check to detect duplicate file names
before moving the file. If a duplicate is detected, an exception is thrown, and an error
message is logged. If no duplicates are found, the file is moved to the
processedFolderPath and renamed by appending "_Processed" to the original file
name.
APPENDIX
3 TEST
CASE
CONTENT:
Expected Result: The system should allow the user to select multiple
files and display the selected file paths.
Actual Result: The system successfully allows multiple file selection and
displays the selected file paths.
Actual Result: The files are successfully renamed as per the user-defined
criteria.
Expected Result: The system should log all actions performed, including
timestamps and details of the operations.
CONTENT:
Step-by-Step Instructions
2. Selecting Files
3. Moving Files
4. Renaming Files
Troubleshooting Tips
File Not Found Error: Ensure that the selected files exist in the
specified directory. If the files have been moved or deleted, update the
file paths.
Duplicate File Name Conflict: If a file with the same name already
exists in the destination directory, rename the file or choose a
different destination.
CONTENT:
Requirement Analysis
Design Documents
Implementation Details
Deployment Instructions
User Manual: Comprehensive guide for users on how to use the system,
including step-by-step instructions, troubleshooting tips, and FAQs.
DIPLOMO OF COMPLETION