Jurnal 5
Jurnal 5
1st Rizal Broer Bahaweres 2nd Elda Oktaviani 3rd Luh Kesuma Wardhani
Department of Informatics Department of Informatics Department of Informatics
Syarif Hidayatullah State Islamic Syarif Hidayatullah State Islamic Syarif Hidayatullah State Islamic
University University University
Jakarta, Indonesia Jakarta, Indonesia Jakarta, Indonesia
Computer Science Dept. elda.oktaviani15@mhs.uinjkt.ac.id Computer Science Dept.
IPB University IPB University
Bogor, Indonesia 5th Arif Imam Suroso Bogor, Indonesia
rizalbroer@computer.org Computer Science Dept luhkesuma@uinjkt.ac.id
School of Bussiness
4th Irman Hermadi IPB University 6th Indra Permana Solihin
Computer Science Dept. Bogor, Indonesia Computer Science Dept.
IPB University arifimamsuroso@apps.ipb.ac.id IPB University
Bogor, Indonesia Bogor, Indonesia
irmanhermadi@apps.ipb.ac.id 7th Yandra Arkeman Informatics
Computer Science Dept Faculty of Computer Science.
Agro-Industrial Tech. Dept Universitas Pembangunan Nasional
IPB University Veteran Jakarta
Bogor, Indonesia Jakarta, Indonesia
yandra.arkeman@gmail.com indrapermana@upnvj.ac.id
Abstract— Graphical user interface (GUI) is widely used in of the objective GUI is makes it easier to interact with a system
software applications. About 50% of the application code is for [2]. Because labor costs are high and demands for high-quality
GUI implementation. Because labor costs are high and demands software are increasing. Therefore automation GUI testing
for high-quality software are increasing, automation GUI will be a good investment for any software company [1].
testing will be a good investment for any software company. We
will apply the Behavior-driven development (BDD) method for Software testing is one of the most important and crucial
automation GUI testing with the Cucumber framework on the phases in the software development life cycle process,
CURA and Swag Labs web applications. The BDD methodology spending an average of 40% to 70% of the software
used is based on the NLP (natural language program) concept. development process [3].
Where the information of semi-automatically produce a step
The Agile software development methodology is
definition and code framework. The scenarios are given on the
natural language and then applied to Software Testing. Class increasingly popular in the software industry because of their
diagrams and sequence diagrams are also applied to each higher chances of success. TDD, BDD, Acceptance Test
represent a code framework automatically. The author uses Driver Development (ATDD) are examples of the widely used
Katalon Studio software. It was found that the results of the test Agile development process where acceptance testing plays a
case automation GUI testing on the CURA website with 210 large role in their success [4]. Based on the implementation of
steps passed, 3 step warnings with average responses times in testing, testing can be classified into two categories. Manual
the test case were 1.92 minutes. The results of the test case testing and automation testing [5]. TDD and ATDD focus on
automation GUI testing on the Swag Labs web with 87 where 36 verifying the state of the system rather than the desired
steps failed, 4 step warning and 44 step passed with an average behavior of the system. Problems with manual testing are time
responses times in the test case are 2,122 minutes. consuming and tedious.
Keywords— Empirical Software Engineering, Software Behavior-driven development (BDD) is an Agile approach
Testing Automation, GUI Testing, Behavior-driven to software development that encourages teams to deliver
Development, Cucumber. software by emphasizing interaction among stakeholders. It
considers business and technical perspectives - and one of the
I. INTRODUCTION main ways to achieve this is by writing test cases in a language
Graphical user interface (GUI) is widely used in software that can be understood by individuals and non-technical
applications. The GUI makes the application easier to use and programmers [6]. Losses and potential challenges of BDD.
user friendly [1]. In modern software applications, around BDD requires high business involvement and collaboration.
50% of the application code is for GUI implementation. One
Table III. user stories web swag labs are showing use case
test on login, select products, remove products, checkout, and
logout. The last column of table II and table III are statement
case that follow the patern of BDD