We apologize for a recent technical issue with our email system, which temporarily affected account activations. Accounts have now been activated. Authors may proceed with paper submissions. PhDFocusTM
CFP last date
20 December 2024
Reseach Article

Generation of String Test Input from Web using Regular Expression

by Sneha Shelke, Sangeeta Nagpure
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 99 - Number 18
Year of Publication: 2014
Authors: Sneha Shelke, Sangeeta Nagpure
10.5120/17476-8375

Sneha Shelke, Sangeeta Nagpure . Generation of String Test Input from Web using Regular Expression. International Journal of Computer Applications. 99, 18 ( August 2014), 44-46. DOI=10.5120/17476-8375

@article{ 10.5120/17476-8375,
author = { Sneha Shelke, Sangeeta Nagpure },
title = { Generation of String Test Input from Web using Regular Expression },
journal = { International Journal of Computer Applications },
issue_date = { August 2014 },
volume = { 99 },
number = { 18 },
month = { August },
year = { 2014 },
issn = { 0975-8887 },
pages = { 44-46 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume99/number18/17476-8375/ },
doi = { 10.5120/17476-8375 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2024-02-06T22:28:34.557712+05:30
%A Sneha Shelke
%A Sangeeta Nagpure
%T Generation of String Test Input from Web using Regular Expression
%J International Journal of Computer Applications
%@ 0975-8887
%V 99
%N 18
%P 44-46
%D 2014
%I Foundation of Computer Science (FCS), NY, USA
Abstract

To generate realistic test data is a challenging for software testers. Realistic test data generation for certain input type is hard to automate and therefore laborious. So in this paper, string inputs will be used from the internet by performing web queries based on the key identifiers appearing in the source code of the program under test. The resultant URLs will be generated, tokenised and the collected regular expressions are matched with the text and get valid string values.

References
  1. Phil McMinn, "Search-Based Software Testing: Past, Present and Future", University of Sheffield, Department of Computer Science Regent Court, 211 Portobello, Sheffield, S1 4DP, UK
  2. P. McMinn, "Search-based software test data generation: A survey," Software Testing, Verification and Reliability, vol. 14, no. 2, pp. 105–156, 2004.
  3. M. Bozkurt and M. Harman, "Automatically generating realistic test input from web services," in International Symposium on Service-Oriented System Engineering, 2011.
  4. M. Alshraideh and L. Bottaci, "Search-based software test data generation for string data using program-specific search operators," Software Testing, Verification and Reliability, pp. 175–203, 2006.
  5. Mark Harman, Phil McMinn, Jereson Teixeira de Souza, and Shin Yoo, " Search Based Software Engineering: Techniques, Taxonomy, Tutorial
  6. P. McMinn, M. Shahbaz, and M. Stevenson. "Search-based test input generation for string data types using the results of web queries". In ICST, pages 141–150, 2012.
  7. Software testing. http://en. wikipedia. org/wiki/Software_testing
  8. Automation. http://en. wikipedia. org/wiki/Test_automation
  9. JSoup. http://www. jsoup. org.
  10. S. Butler, M. Wermelinger, Y. Yu, and H. Sharp. Improving the tokenisation of identifier names. In ECOOP, 2011.
  11. Aditya P. Mathur. Foundations of Software Testing. Addison-Wesley Professional, 1st edition, 2008.
  12. M. Harman and P. McMinn. A theoretical and empirical study of search-based testing: Local, global and hybrid search. IEEE Transactions on Software Engineering, 36:226–247, 2010.
Index Terms

Computer Science
Information Sciences

Keywords

String inputs Valid inputs Web queries Regular expressions Web pages