OPTIMALISASI PROSES PEMBAHARUAN LOCATOR PADA KODE OTOMATIS SELENIUM DENGAN MENGGUNAKAN PAGE OBJECT MODEL
Abstract
Pengujian aplikasi adalah proses penting pada pengembangan perangkat lunak. Salah satu cara mempercepat pengujian aplikasi dengan menggunakan teknik pengujian otomatis menggunakan selenium webdriver. Teknik ini menggunakan kode otomatis yang disusun di dalam sebuat test case. Pada test case terdapat langkah pengujian yang terdiri dari banyak locator. Locator merupakan query untuk mengakses element pada website yang merepresentasikan objek yang diakses oleh pengguna seperti tombol, input teks dan lainnya. Locator yang sama bisa digunakan pada test case yang berbeda Pada penelitian sebelumnya, automatisasi pengujian perangkat lunak berbasis website terbukti meningkatkan waktu uji yakni 30 detik lebih cepat dibandingkan proses pengujian secara manual. Namun pada penelitian tersebut tidak dibahas bagaimana proses pembaharuan locator yang efektif ketika terjadi perubahan struktur sistem aplikasi. Penelitian ini bertujuan untuk mengoptimalisasi proses pembaharuan kode automatisasi dengan mengolah data locator menggunakan teknik page object modelling (POM) pada halaman login website. Setiap locator ditempatkan pada satu tempat yang disebut dengan repositori sehingga proses pembaharuan locator dilakukan secara sentralisasi pada repositori tanpa harus mencari dan membuka test case satu per satu.Hasil penelitian menunjukkan efisiensi sebesar 14.28 % lebih cepat jika dibandingkan dengan proses pembaharuan tanpa metode POMReferences
Garousi, V., et al. (2021). Model-based testing in practice: An experience report from web applications domain. Elsevier Science Direct The Journal of System and Software 180 (2021) 111032. doi: https://doi.org/10.1016/j.jss.2021.111032
Pombo N., and C. Martins. (2021). Test Driven Development in Action: Case Study of a Cross-Platform Web Application. IEEE EUROCON 2021 - 19th International Conference on Smart Technologies, Lviv, Ukraine, 2021, pp. 352-356.doi: 10.1109/EUROCON52738.2021.9535554.
Banjarnahor M.T., and L. S. Istiyowati. (2022). Smoke Automation and Regression Testing on a peer-to-peer lending Website with the Data-Driven Testing Method. Jurnal Rekayasa Sistem dan Teknologi Informasi. 6(4). 684-691. doi : https://doi.org/10.29207/resti.v6i4.4220.
Joe Lian Min, A. Istiqomah, dan A. Rahmani. (2020). Evaluasi Penggunaan Manual dan Automated Software Testing pada Pelaksanaan End-to-End Testing. Jurnal Teknologi Terapan. 6(1).
Riasat, H., Nazir, Z., and Zubair, S. (2021). Critical Analysis of software testing techniques and automation testing tools, International Journal Of Scientific & Engineering Research.12 (2). ISSN : 2229-5518.
Anand, R, and M. Arulprakash. (2018). Business Driven Automation Testing Framework. International Journal of Engineering and Technology. 7(2.8).
Malik, A., and A. Mehta. (2022). Automation Testing - A Review. International Research Journal of Modernization in Engineering Technology and Science. 4(6).
Ateşoğulları D., and A. Misra. (2020). Automation Testing Tools: A Comparative View. International Journal of Computer Science and Information Technologies. 4(12).
Ramler, R., and C. Klammer. (2019). Enhancing Acceptance Test-Driver Development with Model-Based Test Generation. IEEE 19th International Conference on Software Quality, Realibility and Security Companion.
Ouriques R., Krzysztof W., and Tony G. (2023). The Role of Knowledge-based resources in Agile Software Development Context. The Journal of Systems & Software. doi:https://doi.org/10.1016/j.jss.2022.111572.
Imtiaz J., Zohaib I., and Uzair K. (2020). An Automated Model-based Approach to Repair Test Suite of Evolving Web Applications. The Journal of System and Software.doi:https://doi.org/10.1016/j.jss.2020.110841.
Fischbach J., Andreas V., Dominik S., and Andreas W. (2020). SPECMATE: Automated Creation of Test Cases from Acceptance Criteria. IEEE 13th International Conference on Software Testing, Validation and verification (ICST).doi: 10.1109/ICST46399.2020.00040.
Biagiola, M., et al. (2019). Web test dependency detection. in Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundation of Software Engineering. doi:https://doi.org/10.1145/3338906.3338948.
Presler-Marshall, K., E. Horton, S. Heckman, and K.T. Stolee. (2019). Wait Wait No Tell Me Analyzing Selenium Configuration Effects on Test Flakiness. 2019 IEE/ACM 14th International Workshop on Automation of Software Test (AST). doi: 10.1109/AST.2019.000-1.
Biagiola, M., et al. (2019). Diversity-Based Web Test Generation. Proceeding of 27th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE'19). doi: 10.1145/3338906.3338970
Rosa, A. S. dan M Shalahuddin. (2013). Rekayasa Perangkat Lunak Terstruktur dan Berorientasi Objek. Bandung: Informatika.dan Berorientasi Objek. Bandung: Informatika.
Roger S. Pressman. (2010). Software Engineering : A Practitioner's Approach (7th ed). New York: McGraw-Hill.
J. Sutherland. (2014). SCRUM: The Art of Doing Twice the Work in Half the Time. New York: Crown Business.
Cara Kerja, Pengertian, Konsep selenium webdriver. Retrieved September 19, 2023, from browserstack website: https://www.browserstack.com/guide/selenium-framework.
Copyright (c) 2024 JIKA (Jurnal Informatika)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
License and Copyright Agreement
In submitting the manuscript to the journal, the authors certify that:
- They are authorized by their co-authors to enter into these arrangements.
- That it is not under consideration for publication elsewhere,
- That its publication has been approved by all the author(s) and by the responsible authorities – tacitly or explicitly – of the institutes where the work has been carried out.
- They secure the right to reproduce any material that has already been published or copyrighted elsewhere.
- They agree to the following license and copyright agreement.
Copyright
Authors who publish with International Journal of Advances in Intelligent Informatics agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (CC BY-SA 4.0) that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.Â
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work.
Licensing for Data Publication
International Journal of Advances in Intelligent Informatics use a variety of waivers and licenses, that are specifically designed for and appropriate for the treatment of data:
Open Data Commons Attribution License, http://www.opendatacommons.org/licenses/by/1.0/ (default)
Creative Commons CC-Zero Waiver, http://creativecommons.org/publicdomain/zero/1.0/
Open Data Commons Public Domain Dedication and Licence, http://www.opendatacommons.org/licenses/pddl/1-0/
Other data publishing licenses may be allowed as exceptions (subject to approval by the editor on a case-by-case basis) and should be justified with a written statement from the author, which will be published with the article.
Open Data and Software Publishing and Sharing
The journal strives to maximize the replicability of the research published in it. Authors are thus required to share all data, code or protocols underlying the research reported in their articles. Exceptions are permitted but have to be justified in a written public statement accompanying the article.
Datasets and software should be deposited and permanently archived inappropriate, trusted, general, or domain-specific repositories (please consult http://service.re3data.org and/or software repositories such as GitHub, GitLab, Bioinformatics.org, or equivalent). The associated persistent identifiers (e.g. DOI, or others) of the dataset(s) must be included in the data or software resources section of the article. Reference(s) to datasets and software should also be included in the reference list of the article with DOIs (where available). Where no domain-specific data repository exists, authors should deposit their datasets in a general repository such as ZENODO, Dryad, Dataverse, or others.
Small data may also be published as data files or packages supplementary to a research article, however, the authors should prefer in all cases a deposition in data repositories.