Abstract
Testing web applications through the GUI can be complex and time-consuming, as it involves checking the functionality of the system under test (SUT) from the user’s perspective. Random testing can improve test efficiency by automating the process, but achieving good exploration is difficult because it requires uniform distribution over a large search space while also taking into account the dynamic content commonly found in web applications. Reinforcement learning can improve the efficiency of random testing by guiding the generation of test sequences. This is achieved by assigning rewards to specific actions and using them to determine which actions are most likely to lead to a desired outcome. While rewards based on the difference between consecutive states are commonly used in modern tools, they can lead to the Jumping Between States (JBS) problem, where large rewards are generated without significantly increasing exploration. We propose a solution to the JBS problem by combining rewards based on the change of state and a metric to estimate the level of exploration reached in the next state based on the frequency of actions executed. Our results show that this multi-faceted approach increases the exploration efficiency.
Original language | English |
---|---|
Title of host publication | Research Challenges in Information Science |
Subtitle of host publication | Information Science and the Connected World - 17th International Conference, RCIS 2023, Proceedings |
Editors | Selmin Nurcan, Andreas L. Opdahl, Haralambos Mouratidis, Aggeliki Tsohou |
Publisher | Springer Science and Business Media Deutschland GmbH |
Pages | 136-153 |
Number of pages | 18 |
Edition | 1 |
ISBN (Electronic) | 978-3-031-33080-3 |
ISBN (Print) | 9783031330797 |
DOIs | |
Publication status | Published - May 2023 |
Event | 17th International Conference on Research Challenges in Information Sciences, RCIS 2023 - Corfu, Greece Duration: 23 May 2023 → 26 May 2023 https://www.rcis-conf.com/rcis2023/ |
Publication series
Series | Lecture Notes in Business Information Processing |
---|---|
Volume | 476 LNBIP |
ISSN | 1865-1348 |
Conference
Conference | 17th International Conference on Research Challenges in Information Sciences, RCIS 2023 |
---|---|
Country/Territory | Greece |
City | Corfu |
Period | 23/05/23 → 26/05/23 |
Internet address |
Keywords
- GUI testing
- Reinforcement learning
- Scriptless testing