Applying Natural Language Processing in Automating User Interface Testing

Authors

  • Vinod kumar Karne QA Automation Engineer
  • Parameshwar Reddy Kothamali QA Automation engineer
  • Noone Srinivas Senior Quality Engineer
  • Nagaraj Mandaloju Senior salesforce developer

Keywords:

Natural Language Processing, UI Testing Automation, Test Case Generation, Execution Performance

Abstract

This study investigates the application of Natural Language Processing (NLP) in automating user interface (UI) testing for web and mobile applications. The primary research problem addressed is how NLP can effectively interpret and execute test cases from natural language descriptions, aiming to streamline and enhance the testing process. The study employs a design that includes developing an NLP-based framework, generating test cases from natural language inputs, and evaluating the framework's performance and accuracy. Key findings reveal that the NLP framework successfully converts natural language descriptions into actionable test cases with high accuracy. It also performs efficiently in executing these test cases and demonstrates effective error detection and reporting. These results support the hypothesis that NLP can significantly improve UI testing by making test case creation more intuitive and automation more effective. The study concludes that NLP-driven automation offers a valuable advancement in UI testing methodologies, suggesting further exploration of advanced NLP techniques and broader application scenarios.

References

K. Pohl, Requirements Engineering - Fundamentals, Principles, and Techniques, New York, NY, USA: Springer, 2010.

K. Pohl and C. Rupp, Requirements Engineering Fundamentals, 1st ed., Rocky Nook, Santa Barbara, CA, 2011.

D. Berry, E. Kamsties, and M. Krieger, From Contract Drafting to Software Specification: Linguistic Sources of Ambiguity, 2003.

C. Denger, J. Dorr, and E. Kamsties, QUASAR: A Survey on Approaches for Writing Precise Natural Language Requirements, 2001.

S. Withall, Software Requirement Patterns (Best Practices), 1st ed., Redmond, WA, USA: Microsoft, 2007.

E. Uusitalo, M. Raatikainen, T. Mannisto, and T. Tommila, “Structured Natural Language Requirements in Nuclear Energy Domain Towards Improving Regulatory Guidelines,” in Proc. 4th Int. Workshop Requirements Eng. Law, pp. 67–73, 2011.

C. Rupp and die SOPHISTen, Requirements-Engineering und Management: professionelle, iterative Anforderungsanalyse für die Praxis, Hanser Verlag, München, D-81631, pp. 225–251, 2009.

F. Chantree, B. Nuseibeh, A. De Roeck, and A. Willis, “Identifying Nocuous Ambiguities in Natural Language Requirements,” in Proc. 14th IEEE Int. Requirements Eng. Conf., pp. 59–68, 2006.

N. Kiyavitskaya, N. Zeni, L. Mich, and D. Berry, “Requirements for Tools for Ambiguity Identification and Measurement in Natural Language Requirements Specifications,” Requirements Eng., vol. 13, no. 3, pp. 207–239, 2008.

H. Yang, A. De Roeck, V. Gervasi, A. Willis, and B. Nuseibeh, “Analysing Anaphoric Ambiguity in Natural Language Requirements,” Requirements Eng., vol. 16, no. 3, pp. 163–189, 2011.

T. Yue, L. Briand, and Y. Labiche, “A Systematic Review of Transformation Approaches Between User Requirements and Analysis Models,” Requirements Eng., vol. 16, no. 2, pp. 75–99, 2011.

K. Zachos and N. Maiden, “Inventing Requirements from Software: An Empirical Investigation with Web Services,” in Proc. 16th IEEE Int. Requirements Eng. Conf., pp. 145–154, 2008.

N. Kiyavitskaya, N. Zeni, T. Breaux, A. Anton, J. Cordy, L. Mich, and J. Mylopoulos, “Automating the Extraction of Rights and Obligations for Regulatory Compliance,” in Proc. 27th Int. Conf. Conceptual Modeling, pp. 154–168, 2008.

E. Holbrook, J. Hayes, and A. Dekhtyar, “Toward Automating Requirements Satisfaction Assessment,” in Proc. 17th IEEE Int. Requirements Eng. Conf., pp. 149–158, 2009.

B. Guldali, S. Sauer, G. Engels, H. Funke, and M. Jahnich, “Semi-Automated Test Planning for e-ID Systems by Using Requirements Clustering,” in Proc. 24th IEEE/ACM Int. Conf. Autom. Softw. Eng., pp. 29–39, 2009.

D. Falessi, G. Cantone, and G. Canfora, “Empirical Principles and an Industrial Case Study in Retrieving Equivalent Requirements via Natural Language Processing Techniques,” IEEE Trans. Softw. Eng., vol. 39, no. 1, pp. 18–44, Jan. 2013.

E. Guzman and W. Maalej, “How Do Users Like This Feature? A Fine-Grained Sentiment Analysis of App Reviews,” in Proc. 22nd IEEE Int. Requirements Eng. Conf., pp. 153–162, 2014.

M. Adedjouma, M. Sabetzadeh, and L. Briand, “Automated Detection and Resolution of Legal Cross References: Approach and a Study of Luxembourg’s Legislation,” in Proc. 22nd IEEE Int. Requirements Eng. Conf., pp. 63–72, 2014.

CESAR: Cost-efficient Methods and Processes for Safety Relevant Embedded Systems, 2012.

OPENCOSS: Open Platform for Evolutionary Certification Of Safety-critical Systems, 2012.

The SAREMAN Project: Controlled Natural Language Requirements in the Design and Analysis of Safety Critical I&C Systems, 2014.

Downloads

Published

30-09-2019

How to Cite

Vinod kumar Karne, Parameshwar Reddy Kothamali, Noone Srinivas, & Nagaraj Mandaloju. (2019). Applying Natural Language Processing in Automating User Interface Testing. International Journal for Research Publication and Seminar, 10(3), 111–122. Retrieved from https://jrps.shodhsagar.com/index.php/j/article/view/1531

Issue

Section

Articles