You are on page 1of 19

A Mini Project Report

On

AUTOMATE MakeMyTrip USING SELENIUM WEBDRIVER


By

Aman Keskar (B211035)


Asmita Kulkarni (B211040)
Jinendra Kulkarni (B211041)

Under the guidance of

Prof. Gopal Chandangole

Department of Computer Engineering

ZEAL College of Engineering and Research, SAVITRIBAI PHULE PUNE UNIVERSITY

2021-2022
Department of Computer Engineering

ZEAL College of Engineering and Research,

Date: 13/12/2021

CERTIFICATE

This is to certify that,

Aman Keskar (B211035)


Asmita Kulkarni(B211040)
Jinendra Kulkarni(B211041)

of class B.E COMP; have successfully completed their mini project work on “AUTOMATE
MAKEMYTRIP USING SELENIUM WEBDRIVER’’ at ZEAL College of Engineering and Research,
Pune the partial fulfillment of the Graduate Degree course in B.E (2015 PAT) at the department of
Computer Engineering, in the academic Year 2021-2022 Semester – I as prescribed by the Savitribai
Phule Pune University.

Prof. Gopal Chandangole Prof. Aparna V. Mote


Guide Head of the Department
(Department of Computer Engineering)
Acknowledgements
 
We take this opportunity to thank our seminar guide and Head of the Department Prof. A. V. 
Mote for their valuable guidance and for providing all the necessary facilities, which were
indispensable in the completion of this project report. 

     We are also thankful to all the staff members of Computer Engineering the Department for
their valuable time, support, comments, suggestions and persuasion.

     We would also like to thank the institute for providing the required facilities, Internet 
access and required books. 

Aman Keskar (B211035)


Asmita Kulkarni(B211040)
Jinendra Kulkarni(B211041)
i
Contents

Sr. No. Topic Page No.


Acknowledgement i
Contents ii
List of Forms iii
Acronyms iv
Abstract v
Chapter-1 Introduction 1
1.1 Motivation 1
1.2 Problem Statement 1
1.3 Framework of the proposed work in project 1
Chapter-2 Literature Review 2

2.1 Introduction 2

2.2 Existing methodologies 2

2.3 Proposed methodologies 2

Chapter-3 Software Requirement Specification 3

3.1 Hardware Requirements 3

3.2 Software Requirements 3

Chapter-4 Design of Project / Architecture 4

Chapter-5 Forms/ Screenshots 5

Chapter-6 Advantages 8

Chapter-7 Results 9

Chapter-8 Conclusion 10

References 11

ii
List of Forms

Figure No. Title Page No.


4.1 Selenium Architecture 4
5.1 Required Libraries 5
5.2 Redirecting to MakeMyTrip 5
5.3 Create New Account 5
5.4 Auto-filling 6
5.5 Signing-Up 6
5.6 Output 7
7.1 Result 9

iii
Acronyms

IDE: Integrated Development Environment


STQA: Software Testing and Quality Analysis
IFIP: International Federation of Information Processing

iv
Abstract

To control an online browser from a programme can be useful in a variety of contexts; examples include
site text robotization and web scrapping, and Selenium WebDriver is a well-known technology for this
type of automation.

Selenium WebDriver is a set of open source APIs that may be used to automate online application testing.
The Selenium WebDriver programme is used to automate web application testing in order to ensure that it
functions properly. It works with a variety of browsers, including Firefox, Chrome, Internet Explorer, and
Safari.

It is more convenient to automate the login process for a website. For example, you might need to make a
natural change to your record settings, or you might need to extract some data that requires authentication,
and so on.

v
Chapter 1
Introduction

1.1 Motivation
Test automation is the practice of running tests automatically, managing test data, and utilizing
results to improve software quality. The most widely used freeware and open source automation tool
is Selenium. Selenium has a lot of advantages when it comes to test automation. It allows testing web
applications, as well as the execution of numerous scripts across multiple browsers. The advantages
of Selenium Test Automation are applicable to a wide range of industries.

1.2 Problem Statement


To automate the MakeMyTrip with Selenium WebDriver using Python.

1.3 Framework
Test automation in software testing refers to the use of software other than the programme being
tested to control the execution of tests and the comparison of actual and projected results. Test
automation can automate some tedious but required operations in an already established standardised
testing process, as well as do additional testing that would be impossible to perform manually.
Continuous delivery and continuous testing necessitate test automation.
To automate the MakeMyTrip website, we are utilising Selenium WebDriver to remove these
repetitive activities. We'll use Python for this, and the WebDriver library from the Selenium package
will be imported. We'll start by installing Selenium on the device. We auto-fill all of the information
which is required . The user can then register for MakeMyTrip without having to fill any
information.

1
Chapter 2
Literature Review

2.1 Introduction
Selenium WebDriver is a web framework for performing cross-browser testing. This programme is used
to test web-based applications to ensure that they work as expected. You may use Selenium WebDriver to
develop test scripts in any computer language. Selenium WebDriver is a browser automation framework
that takes user input and sends it to a browser. A browser-specific driver is used to implement it. It has
direct control over the browser because it communicates with it directly. Java, C#, PHP, Python, Perl, and
Ruby are all supported by Selenium WebDriver It is the simplest framework in the Selenium Suite. There
are four components of Selenium Architecture such as Selenium Client Library,JSON Wire Protocol over
HTTP,Browser Drivers,Browsers . It is a sophisticated tool for programmatically managing a web browser.
It works in all major browsers and on all major operating systems. Selenium WebDriver is a set of
methods defined by an interface. The browser-specific classes, on the other hand, provide implementation.
AndroidDriver, ChromeDriver, FirefoxDriver, InternetExplorerDriver, SafariDriver, and others are some
of the implementation classes.

2.2 Existing Methodologies


We had to do the tedious task of filling all of our information into MakeMyTrip's registration form.
Using Selenium WebDriver in Python, this project will assist us in automatically filling the columns.

2.3 Proposed Methodologies


We are using Selenium WebDriver in Python in this project to automatically fill in the user's
information without any inconvenience or repetitive effort

2
Chapter 3
Software Requirements Specification

3.1 Hardware Requirements


1. Processor : Intel Core i5
2. RAM: 4 GB or 8 GB
3. Hard disc drive: 500 GB or more

3.2 Software Requirements


1. Windows 7 and above
2. Visual Studio Code or any other IDE
3. Python (latest version if available)
4. Selenium (a web automation tool)

3
Chapter 4
Architecture

Fig 4.1:- Selenium WebDriver Architecture

4
Chapter 5
Forms/Screenshots

Importing Necessary Libraries

Fig 5.1: Required Libraries

Redirecting To ‘makemytrip.com’

Fig 5.2: Redirect to MakeMyTrip

Clicking on ‘Sign-in’

5
Auto-filling every column

Fig 5.4: Auto-filling

Exiting

Fig 5.5: Exiting

6
Output

7
Chapter 6
Advantages

We learn that selenium is used for automation testing, that it supports numerous programming languages,
and that it is compatible with a variety of browsers. It's simple to use. It is possible to request clicking of
the browser back and front buttons with the assistance of selenium Webdriver; this functionality is not
accessible in many automation-testing tools, and it is the biggest advantage of utilising selenium as an
automation testing tool. It has various advantages such as Language and Framework
Support,Flexibility,Parallel Test Execution and Faster Go-To-Market,Cross-Device Testing,Community
Support. With selenium, it becomes easier and more efficient. We can make quick changes in code,
eliminate duplication in code, reduce intricacy in code, and increase code readability by using selenium as
a testing tool.

8
Chapter 7
Results

After using Selenium WebDriver, we can successfully sign-in without any hassle. We receive a code on
the registered mail id and after entering that, we get ourselves registered successfully.

Fig 7.1: Results

9
Chapter 8

Conclusion
Organizations have considered Selenium for a variety of reasons, including meeting test automation
goals. Selenium aids in the robustness, cost-effectiveness, and speed-up of the software testing life
cycle. Selenium is the most effective test automation tool because of its many benefits, including
open source, support for many languages, easy integration with many platforms, support for cross-
browser testing, and is best suited to test web applications. As a result, organisations should consider
selenium as a promising test automation tool for web application testing.  Selenium is more flexible
as compared with other testing tools.

10
References

[1] Kolawa, Adam; Huizinga, Dorota (2007). Automated Defect Prevention: Best Practices in Software
Management. Wiley-IEEE Computer Society Press. p. 74 . ISBN 978-0-470-04212-0..

[2] Garousi, Vahid; Mäntylä, Mika V. (2016-08-01). "When and what to automate in software testing? A
multi-vocal literature review". Information and Software Technology. 76:92–117.
doi:10.1016/j.infsof.2016.04.015.

[3] Vodde, Bas; Koskela, Lasse (2007). "Learning Test-Driven Development by Counting Lines". IEEE
Software. 24 (3): 74–79. doi:10.1109/ms.2007.80. S2CID 30671391.

11

You might also like