An are displayed on the window, which shows

An Automated Web
Application Testing System

Introduction:

We Will Write a Custom Essay Specifically
For You For Only $13.90/page!


order now

Software testing is an important and necessary process in
software development life cycle because completeness, correctness and delivery
of a good quality software will be assured by this. Web applications are
complex, evolving and rapidly updated software systems. Their testing is both
challenging and critical because traditional testing methods and tools are not
sufficient for web-based applications, so we consider automated testing systems
to test the web applications. In this paper we consider two automated testing
techniques proposed in two different papers to test a web application.

The first approach used is testing a web application using
action word based testing or keyword based testing which is framework for
testing web applications using keyword driven testing. The keywords and their
associated functions are coded in a test script, which is executed by the
framework. The second approach guaranties the satisfaction of two web application
testing criteria, namely page coverage criterion and hyperlink coverage
criterion in which hyperlinks of the website to be tested are automatically
followed one by one to retrieve all HTML texts of its pages starting from the
home page.

                The first
approach is built with Maven automation tool which depicts all the
dependencies, existed among the various modules of the code. After running the
test scripts, which contains keywords that perform specific functions, the
results are displayed on the window, which shows the passing or failure of test
runs. The results also display the total time taken to execute the test runs
and the instant of time at which, the test run is completed.  In the second approach hyperlinks of the
website to be tested are automatically followed to retrieve all HTML texts of
its pages starting from the home page. HTML analysis, Link execution, Web
navigation, and Error checking are four modules in this testing.

 

I believe the approach using Action word based testing is
better approach compared to other one because in this technique we need not to
change the entire automated process whenever some changes come in the
application. This proposed framework is cost effective since it is built with
Maven automation tool. Only the functions associated with the keywords need to
be changed, whenever we need to test a new application. The results generated
are easily readable and understandable.

 

The evidence to decide Action word based testing is a better
approach are:

In this paper, a framework for
testing web applications is proposed that exploits the concept of keyword
driven testing. Keyword driven testing or action word based testing is an
automated testing process, which has the advantage of testing any web
application, in contrary to other methods, where we need to change the entire
automated process whenever some changes come in the application. The proposed
framework is built with Maven automation tool that uses some keywords to test
the application.

The possible outputs of the evidence are:

·        
The testing framework is built using Maven tool
which offers well-structured dependencies among the modules of the script, it
also acts as a central repository where all the files are stored together.

·        
In this technique we need not to change the
entire automated process whenever some changes come in the application.

·        
Only the functions associated with the keywords
need to be changed, whenever we need to test a new application.

·        
The framework is cost efficient since it is
built on an open source Maven tool.

·        
The keyword driven testing is done on a known
web application, that is https://iogin.yahoo.com/.

·        
The results generated are easily readable and
understandable.

·        
Maven tool also offers reports of the test
results, which can be further mailed to the tester’s email address.

Using maven tool is very good idea as it offers
well-structured dependencies among the modules of the script

All the files can be stored together because this tool acts
as central repository.

During testing, when a change is made in a process we might
need to restart the process again which waste a lot of time but in this keyword
driven testing when a change is made in the application, we need to change the
entire automated process.

As the maven tool is open source It is cost effective

In this paper the testing was done on https://iogin.yahoo.com/ web application
and the process was clearly explained by including the screenshots as images.

After testing, the results generated are very easy to
understand and read.

This tool provide a report of the test result where passed
test case is shown by green color while the failed test case is shown in red
color

               

 

Conclusion:

Software testing is an essential phase in the software
development life cycle. The Keyword driven testing used in this paper to test a
web application has all the characteristics which are needed to be in a
software testing technique. This technique has a high probability of detecting
errors as Keyword driven testing or action word based testing is an automated
testing process, which has the advantage of testing any web application The
keywords and their functions are coded in a testing script, which is called by
the testing framework. The test results are displayed after the complete script
is executed. The framework runs the test scripts, which contains keywords that
perform specific functions. After the test script executes, the results are
displayed on the window, which shows the passing or failure of test runs. The
framework is cost efficient since it is built on an open source Maven tool. If
we need to test other web applications, only the functions associated with the
keywords need to be changed. Hence, it is a versatile approach and a cost
effective one. Maven also generates result reports that are easily readable and
understandable, which can be further mailed to the tester’s mail Id.

x

Hi!
I'm Rita!

Would you like to get a custom essay? How about receiving a customized one?

Check it out