logo

Software Quality and Testing - Assignment

   

Added on  2020-03-04

13 Pages3906 Words136 Views
Web Application Testing using Selenium and JUnitWeb Application Testing using Selenium andJUnit1

Web Application Testing using Selenium and JUnitThis report gives an analysis and evaluation of Testing tools like Seleniumand JUnit used in Web Application Testing. An in depth study of Web Applicationsand the necessity to deliver them with the least number of errors is made. A sampleweb application is used to do the analysis and measure the efficacy of automatingthe test scripts. Selenium is a group of software tools which has distinct methodsand approaches for automating the test script. This report analyzes the use ofSelenium in different operations like locating UI elements and comparing theexpected results to the actual results while running a script. The ability of Seleniumto execute the same test scripts in different browsers is also analyzed here. Thedocument elucidates the fact that Selenium is not just a tool but a combination ofshort concise applications which together constitute a Suite of Software’s. Thissuite is designed to cater to the needs of different requirements and customersdepending upon the Testing strategy they adopt. A study of how JUnit could be used for Unit Testing Web Applications ismade here. JUnit is a unit testing framework. The use of JUnit in writing the testscripts that are intended for repeatable execution is made here. When the sampleapplication is checked unit wise using JUnit, the bugs could be identified early inthe Testing process. The Graphical User Interface of JUnit helps in makng theTesting procedure more easy by denoting the progress of testing in a bar that turnsred if a test is failed. Testing the sample application with JUnit ensures that thesoftware can be easily rectified of errors as soon as they are found. The mainadvantage of automating the test scripts using tools like Selenium and JUnit is thatit increases the efficiency of the Testing Process to a great extent. Even the mosttime consuming and redundant Test Cases that are avoided normally during ManualTesting can be carried out if the test scripts are automated. This becomes all themore important in Web Testing as the cost and time involved is very crucial duringproject delivery.2

Web Application Testing using Selenium and JUnitSoftware Testing The intent of Software Testing is to find the errors in a Software Applicationwhile it is being executed. These errors are called by different terminologies suchas errors, bugs, deviations or defects (Bertolino, 2007). A complete andcomprehensive testing strategy checks each and every requirement that the softwareapplication intends to satisfy. Both Verification and validation are two processesthat ensures that software meets the business requirements of the client as well as itworks exactly as it is expected to. Software systems are not error free. The reasons and chances of programerrors are plentiful. Thus companies around the world are spending a big portion oftheir resources to make the software systems robust, reliable, scalable, safe, secureand defect free. This is where the significance of an economical and decisivesoftware testing methodology becomes important. In spite of the best effort in thedesign, development and coding of software programs, some errors may persist inthe software after its completion. Ever increasing faults in the softwareapplications at various stages of development has invoked interest in SoftwareTesting. As a result, the importance of software testing as an integral part of thesoftware development process has been steadily growing and it has been regardedas the standard technique in the Software Industry to ensure quality and verify thecorrectness of the software.Formally, Software Testing is defined as “the process of exercising orevaluating a system or system component by manual or automated means to verifythat it satisfies specified requirements and actual results”. Software testing plays avital role in the software development process. Nearly one-third of the loss causeddue to software errors can be easily eliminated by an improved testinginfrastructure. A well designed testing process ensures that the software programperforms as per the requirement under all conditions. The process of testing asoftware system is a humongous task which is not only time consuming but alsovery costly. It was estimated that software testing and debugging alone consume3

Web Application Testing using Selenium and JUnitalmost 50% of software system development resources. The quality of software canbe enhanced by rigorously testing the program at the various stages of itsdevelopment. The types of software testing has been evolving continuously to match withthe rapidity of increase in the complexity of software design, frameworks andprogramming languages.Software Testing MethodsManual Testing: Manual testingis the process of testing the application manually by a personfor detecting the software. It requires a tester to play the role of an end user wherethey randomly check the application by keying in values and see if the applicationresponds properly. To guarantee completeness of testing, the tester often follows awrittentest planthat leads them through a set of importanttest cases.Automation Testing:Automation testing is a technique that automates the test cases using specifictools which can detect the bugs in less time. In Automation testing, the tester writesscripts by own and uses suitable software to test the software. It is basically anautomation of a manual process intended to reduce the time and cost overhead inrepeated testing.4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Calculator Software Testing
|12
|3560
|362

Selenium Tool | Assignment
|9
|683
|13

Software Quality and Testing Assignment
|17
|2288
|265

Web System Testing Tools - Doc
|5
|1186
|172

Mutation Testing in Library Management System
|6
|944
|1

Keyword-Driven Testing: Report
|5
|1017
|104