Generating Test Scripts for a Single Page Web Application Based On Database Schema

Proceedings of The 4th International Conference on Applied Research in Engineering, Science and Technology

Year: 2021

DOI:

[Fulltext PDF]

Generating Test Scripts for a Single Page Web Application Based On Database Schema

Kantinan Sangwatthanarat, Taratip Suwannasart

 

ABSTRACT: 

Using automatic testing methods for software testing helps reduce mistakes, time and number of manual testing by software testers. However, the testing process still required software testers who have expertise in creating test scripts. The test data is a main component of test scripts. The software testers generate huge volumes of test data to ensure their quality booming contribution in the delivery of the product for real-world use. Manually generate test data from the database will also be a time-consuming option but manually inserting test data into test scripts is not an affordable option by effort as well. This research aims to establish an approach to simplify test scripts generation for web applications using URL and model file from asp.net as inputs. Our approach elicits input elements from a web page using a provided URL and then analyzes their values using model file to extract the data from database to create test data. This produces test scripts that run under Robot framework.

Keywords: Software Testing, Automation Testing, Test Scripts, Test Automation Framework, Robot Framework.