
Monika Sharma et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (1) , 2014, 908-912 Web based Automation Testing and Tools Monika Sharma, Rigzin Angmo Department of Information Technology, University Institute of Engineering & Technology, Panjab University Chandigarh (U.T.), India Abstract—Software testing is an essential phase of software Software Testing Method development life cycle. Today many software applications are written as web based application that runs in an Internet Browser. The economic relevance of web based application increases the importance of controlling and improving its Static & Dynamic Manual & White-box, quality. The quality assurance of a system depends upon Testing Automation Black- box & automation testing that decreases the test cost and increases testing Gray-box testing work efficiency. In this paper we have discussed various web automation testing tools which will help us to understand the Fig. 1.1(a) automation testing as well as the tools available for automation A. Static and Dynamic Testing testing. A variety of web based systems and applications are tested by automation testing tools. The automation testing This type of testing method can be illustrated with the help script is used in test automation. To choose the best tool for a of difference (TABLE I below):- task, various issues like ease of integration should be TABLE I. Static vs. Dynamic Testing S. considered and weighed against the cost and performance. Static Testing Dynamic testing Also the tool needs to be compatible with the design and No. Static Testing is done without Dynamic Testing is done by implementation of an application. 1. executing the program executing the program It is performed before It is performed after 2. Keywords—Web automation testing, automation testing tools, compilation compilation web application, software testing type, software quality. Static testing is about Dynamic testing is about 3. prevention of defects finding and fixing the defects 4. It s less expensive It is more expensive NTRODUCTION I. I This testing requires loads of This testing comparatively 5. Software testing is one of the most important and crucial meetings requires lesser meetings phase in the software development life cycle process, Static Testing is a verification 6. It involves validation process consuming an average of 40% to 70% of software process Static testing involves checklist Dynamic testing involves test development process [1]. Software testing is a method, 7. and process to be followed cases for execution which is used for assessing the functionality of a software B. The Box Approach: program. Software testing is also a process through which Traditionally software testing is divided into white- and software item is evaluated to detect the defects and then black-box testing. These two approaches are used to correct them. It is also used to assess the feature of a describe the point of view that a test engineer takes when software system and as well as the quality of the product. designing test cases. The software testing should be done during the development process. In other words software testing is stated as TABLE II. Compares various features of black Box Testing And white verification and validation process that a computer box Testing S. program/application/product should:- Black Box Testing White Box Testing Meets the requirement that is used in software No. Also known as closed box Also known as clear box testing, designing and development. testing, data driven 1. structural testing or code based Can be implemented with the same characteristics. testing and functional testing Works as expected and satisfies the needs of testing stakeholders. The Internal Workings of In this testing Tester has full 2. an application are not knowledge of the Internal workings Software Testing is very important because software bugs required to be known of the application can potentially cause monetary as well as human losses. In Testing is performed by Normally done by testers and 3. end users, testers and simple words, software testing is an activity to check developers whether the actual results match the expected results and to developers Testing is based on Internal workings are fully known ensure that the software system is defect free. external expectations as 4. and the tester can design test data Internal behaviour of the accordingly II. TYPE OF TESTING application is unknown Not suited to algorithm The software testing is a very wide topic. It includes varies 5. Suited for algorithm testing methods, types and levels or stages of testing. The basic testing This is the least time This type of testing is the most testing methods are elaborated below (in fig. 1.1(a)):- 6. consuming and exhaustive and time consuming Static testing and Dynamic testing exhaustive. The box approach method This testing can only be Data domains and Internal 7. done by trial and error boundaries can be better tested Manual and Automation Testing method with the help of this testing www.ijcsit.com 908 Monika Sharma et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (1) , 2014, 908-912 Also there is another box approach is available known as industry. In 40’s Programmers used to test the software and Grey Box Testing. This type of testing is also known as not the testers and testing was often not distinguished from translucent testing as the tester has limited knowledge of debugging as well. Throughout the sixties, papers about inside the application. It has the mixed features of white testing, such as the proceedings of the IFIPS conferences, and black box testing approach. The testing is performed by almost assumed that programmers tested the software they end user, testers and developers. Testing is done on the built. As larger and more complex systems arose, the idea basis of high level data diagrams and data flow diagrams. It of software testers came into trend. The first conference on is partly time consuming and exhaustive. testing software was organized in 1972 at Chapel Hill where the proceedings of the conference presented that the C. Manual And Automated Testing discipline of testing is distinct from programming. The Manual Testing: In manual testing type the software are automation of technology allows us to share information tested manually i.e. without using any tool. limitlessly. Several researchers used the web automation Automation testing: It is also known as test automation. In testing tools in their research work. The researchers also this the tester writes scripts and uses another software or enhanced some of tool for better performance and results. tool to test the software. It is basically a process that These tools are applied independently as well as combined involves automation of a manual process. The difference to solve the challenges in software testing. Here, we discuss between manual and automation testing can be clearly work done on web automation testing with the use of specified with help of following table III: automation testing tools. Leott et al. [2] presents an Industrial case study about test TABLE III. Compares Manual and Automation Testing automation & test suite maintenance in context of Learning S. No. Manual Testing Automation Testing Content management System. In this author proposed The execution speed of Manual testing is slow as realignment effort, which conclude that ID based method Automation testing executes test is executed by human for locating web page elements that is better than Xpath 1. test cases significantly faster resources so it is Time than human resources. methods. The goal of author work is to understand which consuming and tedious as Selenium WebDriver method is suitable for locating web well Test cases are executed by page element which reduces the maintenance effort needed using automation tool so less to realign the test cases to a new release. Automation testing executes testers are required in 2. test cases significantly faster Leott et al. [3] also presents another report on an industrial automation testing. As a than human resources. case study which is done to investigate the potential benefit result Less investment is required in human resources of adopting the page object pattern to improve In manual testing no Automation testing maintainability of selenium webDriver test cases. The paper programming can be done to programmable in this testers compares the two equivalent test suits, one is built using the 3. write complicated tests can program sophisticated page object pattern and one is built without it. The results which fetch the hidden tests to bring out hidden will indicate a strong reduction of time and number of information. information. Manual testing is less modified LOCs to repair the test suite when the page object reliable as tests may not be pattern is used. Automation testing is more 4. performed with precision reliable and less error prone Cheluvaraju et al. [4] proposed a novel method to each time because of human investigating relationship between the files that are errors. committed together by applying advance SNA (social network Analysis) to a network. In this paper they There are many others type of software testing are available, performed the empirical analyses on revision histories of in fact any type of software testing type can be executed [1] well known open source web application testing system, both manually as well using an automation tool . The other selenium and results parameters like extracting cross – software testing types under above two testing methods are: language change dependencies, change propagation, impact Unit testing, Integration testing, System testing, Load analysis are reported. testing etc. As illustrated in fig. 1.1(b) below: Wong et al. [5] presented an approach to mining an executable specification from given Selenium IDE test suite. Manual Testing Automation Testing There approach evaluate by number of test suits for real world system.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages5 Page
-
File Size-