Selenium-Based Multithreading Functional Testing

https://doi.org/10.22146/ijccs.28121

Khabib Mustofa(1), Sunu Pinasthika Fajar(2*)

(1) Departemen Ilmu Komputer dan Elektronika, FMIPA UGM, Yogyakarta
(2) Magister of Computer Science FMIPA UGM, Yogyakarta
(*) Corresponding Author

Abstract


In a software development projects, testing is an activity that can spend time, effort or cost up to 35%. To reduce this, developers can choose automatic testing. Automated testing, especially for functional testing, on web applications can be done by using tools, one of which is Selenium. By default, Selenium testing is done sequentially and without exploiting multithreading, which has an impact a sufficiently long time.

In this study, a platform that allows Selenium users to test and utilize multithreading with Ruby language to speed up testing was developed. Thr result shows that Ruby's multithreading has proven to be capable of speeding functional testing up on various web applications. Variations occur depending on the functionality being tested, the testing approach and also the type of browsers used.

Keywords


software testing; functional testing; Selenium; multithreading

Full Text:

PDF


References

[1]K. L. James, “Software Engineering Second Edition”, 2016, PHI Learning Private Limited:New Delhi.

[2]R. Gupta dan N. Bajpai, “A keyword-driven tool for testing Web applications (KeyDriver)”, IEEE Potentials, 35-42, 2014 [Online]. Available : http://ieeexplore.ieee.org/document/6894287/ [Accessed : 25-Aug-2017]

[3] Yuan-Fang Li, P. K Das. dan D. L. Dowe, 2014, “Two decades of Web application testing-A survey of recent advances”, Information System 19 ,Volume 43, 20-54, 2014 [Online]. Available : http://www.sciencedirect.com/science/article/pii/S0306437914000271 [Accessed : 25-Aug-2017]

[4] A. Holmes dan M. Kellogg, “Automating Functional Tests Using Selenium”, Conference on Proceedings of AGILE, 270-275, 2006 [Online]. Available : http://ieeexplore.ieee.org/document/1667589/ [Accessed : 25-Aug-2017]

[5] P. Montoto, A. Pan, J. Raposo, F. Bellas dan J. Bellas, “Automated browsing in AJAX Website”, Data & Knowledge Engineering, Volume 70, 269-283, 2011 [Online]. Available : http://www.sciencedirect.com/science/article/pii/S0169023X10001503 [Accessed : 25-Aug-2017]

[6] T. J. Naidu, N. A. Basri dan S. Nagenthram, “SAHI vs. Selenium: A Comparative Analysis”, Contemporary Computing and Informatics, 967 – 970, 2014 [Online]. Available : http://ieeexplore.ieee.org/document/7019594/ [Accessed : 25-08-2017]

[7] L. Christophe, R. Stevens , C. De Roover dan W. De Meuter, “Prevalence and Maintenance of Automated Functional Tests for Web Applications”, IEEE International Conference on Software Maintenance and Evolution, 141 – 150, 2014 [Online]. Available : http://ieeexplore.ieee.org/document/6976080/ [Accessed : 25-Aug-2017]

[8] M. Leotta, D. Clerissi, F. Ricca dan P. Tonella, “Capture-Replay vs. Programmable Web Testing: An Empirical Assessment during Test Case Evolution”, 20th Working Conference on Reverse Engineering, 272-281, 2013 [Online]. Available : http://ieeexplore.ieee.org/document/6671302/ [Accessed : 28-Aug-2017]

[9] R. Abdull Razak dan F. R. Fahrurazi , “Agile Testing with Selenium”, 5th Malaysian Conference in Software Engineering, 217-219, 2015 [Online]. Available : http://ieeexplore.ieee.org/document/6140672/ [Accessed : 25-Aug-2017]

[10] A.M.F.V. de Castro, G. A. Macedo, E. F. Collins dan A. C. Dias-Neto, “Extension of Selenium RC Tool to Perform Automated Testing with Databases in Web Applications”, 8th International Workshop on Automation of Software Test, 125-131, 2013 [Online]. Available : http://ieeexplore.ieee.org/document/6595803/ [Accessed : 25-Aug-2017]



DOI: https://doi.org/10.22146/ijccs.28121

Article Metrics

Abstract views : 5393 | views : 3263

Refbacks

  • There are currently no refbacks.




Copyright (c) 2018 IJCCS (Indonesian Journal of Computing and Cybernetics Systems)

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.



Copyright of :
IJCCS (Indonesian Journal of Computing and Cybernetics Systems)
ISSN 1978-1520 (print); ISSN 2460-7258 (online)
is a scientific journal the results of Computing
and Cybernetics Systems
A publication of IndoCEISS.
Gedung S1 Ruang 416 FMIPA UGM, Sekip Utara, Yogyakarta 55281
Fax: +62274 555133
email:ijccs.mipa@ugm.ac.id | http://jurnal.ugm.ac.id/ijccs



View My Stats1
View My Stats2