Generating Robot Framework Test Scripts from User Stories and Scenarios for Web Application Testing


연구 분야: Software Development



학회: 2023 8th International Conference on Computer and Communication Systems (ICCCS)


초록

The Scrum Framework combined with Behavior-Driven Development (BDD) has gained popularity as an agile development process. In this approach, user requirements are captured and expressed through user stories and scenarios, which serve as examples and acceptance criteria. Employing small iterations, this process reduces both time and cost of software development. Nonetheless, frequent small iterations pose a significant challenge for testing, especially regression testing. To mitigate the problem, automation testing has been adopted; however, manually composing test scripts can be error-prone and inefficient. This can result in the essential regression tests being deferred to later iterations, rendering it too late to identify errors. This paper proposes an approach to address this issue by generating Robot test scripts automatically from user stories and scenarios. Using XML to lay out the UI structures of the web page, test scripts can be created during the design phase. In addition to the examples provided in scenarios, the XML Schema Definition (XSD) is utilized to produce augmented test datasets automatically. Parameterizing test scripts also enables multiple test scripts with shared test steps but different test datasets, to be consolidated into a single script, thus drastically reducing maintenance effort.


Author Profile
Kritchawat Waitchasarn

Department of Computer Engineering Faculty of Engineering Chulalongkorn University Bangkok Thailand

Thailand
Author Profile
Arthit Thongtak

Department of Computer Engineering Faculty of Engineering Chulalongkorn University Bangkok Thailand

Thailand
Author Profile
Taratip Suwannasart

Department of Computer Engineering Faculty of Engineering Chulalongkorn University Bangkok Thailand

Thailand

📄 논문 정보

발행 연도 2023년
인용수 1
출판 국가 Thailand
사이트 IEEE
좋아요 수 0

연관 논문 목록 (141건)