![]() |
|
Success of any application highly depends on its features and whether they are functionally correct. A web application with broken links or inappropriate content can lead to huge problems. We will try to understand few important aspects with Web Functional Testing. Following document will help you understand what Web Functional Testing means, why its required and how you can successfully implement Functional Testing for your web applications using AppPerfect in Automated manner. The important benefits of Automated Web Functional Testing includes, higher test coverage levels, greater reliability, shorted test cycles, ability to do multi user testing at no extra cost, all resulting in increased levels of confidence in the web application and its successful deployment.
All software are designed and developed to meet and satisfy certain functional requirements. A functional requirement may be technical, business, or process based. Functional Testing is the process by which expected behavior of an application can be tested.
Web Functional testing is a process to test Web applications to detect if your web application is functionally correct. Web Functional testing involves carrying set of tasks and comparing the result of same with the expected output and ability to repeat same set of tasks multiple times with different data input and same level of accuracy. Implementing functional testing for your application early in the software development cycle speeds up development, improves quality and reduces risks towards the end of the cycle. Web Functional Testing can be performed both manually with a human tester or could be performed automatically with use of a software program.
Every software organization tests its softwares, still the end product always have some issues left. Testing team tries their best to find all the bugs before release of the software but still there are issues left in the product and they often re-appear as new modules are added to the software. Even the best of manual testing process struggle to deliver an effective, efficient, accurate and increased test coverage.
Manual testing is often error prone and there are chances of most of the test scenarios left out. Also with the project in development phase where source code changes appear every other day, manually keeping up with the pace to test each and every feature is a difficult task. More often then not the newly added features would bring regression along with them, so to accurately cover all the old test cases manually is very time consuming and error prone. Moreover testing with different hardware configurations and operating systems makes job more difficult.
Automated Web Functional testing is use of software program to detect if your web application is functionally correct. Automated Functional testing includes automating manual testing tasks which are mostly time consuming and error prone. Web Functional testing is a more accurate, efficient, reliable and cost effective replacement to manual testing. Web Functional testing involves carrying set of tasks automatically and comparing the result of same with the expected output and ability to repeat same set of tasks multiple times with different data input and same level of accuracy. Implementing functional test for your application early in the software development cycle speeds up development, improves quality and reduces risks towards the end of the cycle.
Automated Web Functional testing is a solution to all the issues raised with Manual functional testing. An Automated Web Functional Testing tool can playback all the recorded set of tasks, compare the results of execution with the expected behavior and report success or failure to the test engineers. Once the Web Functional tests are created they can easily be repeated for multiple number of times with different data sets and can be extended to cover additional features at a later time.
Most of the software organizations consider Web Functional testing as critical to their web testing process and there are many things which should be considered before selecting an Automated Web Functional Testing tool. A company can make great strides using functional test automation. The important benefits include, higher test coverage levels, greater reliability, shorted test cycles, ability to do multi user testing at no extra cost, all resulting in increased levels of confidence in the software.
AppPerfect offers Web Functional Testing solution in form of AppPerfect Web Test. AppPerfect Web Test is found to be most affordable, cost effective, efficient, reliable and accurate solution by its customers. We will now try to understand how you can successfully implement Automated Functional Testing for your web application using AppPerfect Web Test :
One of the most important aspect in successfully implementing Functional Testing is smartly designing the test cases. Before recording your test scripts you should be ready with the Test Plan for same. You should have the list of modules documented which you would like to test in your web application. Once you have figured out the modules to test, pick each module and list down the features to test for that module, Once you have identified the features, design test cases for each of the feature to test. For each of the test case, define the data set with which you will like to parameterize your test case. Also define the validations you will like to perform for your test case.
Once you are ready with the test plan, you can start creating Test Scripts for each of the identified modules.

AppPerfect's Web Functional Testing tool does not require programming or scripting skills and allows even non-technical and inexperienced testers start automating tests instantly. We provide easy to use Test Recorder which records each step as you browse through your application. All we need from you is to provide us with starting URL to start with and choose a web browser with which you need to record. Test Recorder will take care of launching your application in Web Browser and you are all set to record your test case. Just do the actions you intend to record and Test Recorder will capture all the actions you perform on your web application.


AppPerfect's Functional Testing tool provide extensive support for validations. Once you are done recording, you can edit your Test cases to perform required Validations. You can add validation for any page or element in recorded test.


Most common requirement in functional testing is to perform same set of steps with different input parameters and see if the results are desirable. AppPerfect's Functional testing solution supports extensive support for test parameterization, wherein you can run same script over and over again with different data set each time. AppPerfect offers extensive parameter-management. Parameter selection and testing with various parameter values is completely automated. Parameter values are passed either via the URL itself or via the event arguments and attributes. Parameters are stored as name-value pairs, making it intuitive for application developers and testers. Then, depending on the number of iterations for your project, multiple parameter values can be tested, with options to select parameters sequentially or randomly. For more details on Test Parameterization refer to Parameters chapter.


Once the test is completely designed you can execute it to Functional Test your application over and over again as your application evolves to check for any regression or discrepancy in the application since test was recorded. AppPerfect generates extensive reports for each execution step in your test. To replay the test select the Project -> Run.. menu option. AppPerfect will launch the browser of your choice and will start replaying each of the step in your test in automated manner. At the end of test execution you can view the detailed results of each of the execution step and export them to HTML, PDF etc. formats. In case of failure, you can pass on these exported reports to your development team for further analysis.
For more details on Test Execution and Results refer to Running a Web Test chapter.
AppPerfect's Functional Testing solution can help you test compatibility of your application on different Web browsers like Internet Explorer, Firefox, Safari, Chrome etc. at same time. You can record test on any one Web browser and run it on different Web browsers and this way test application's behavior on different browsers without need to re-record test on multiple browsers. Refer to Cross Browser Testing chapter for more details.
With AppPerfect's Web Functional Testing solution you can run complex and lengthy tests unattended. Tests can be scheduled to run overnight and engineers can analyze the results of execution next morning. As a result you save time and improve efficiency and can concentrate on other important tasks while scheduled tests run in background. To schedule tests you require AppPerfect Test Manager product. Once you have Test Manager installed you need to first configure Web Test to enable connection to Test Manager server. To configure the Test Manager connection select Tools -> Options -> Server Connections -> Test Manager Settings and provide the host:port information for the machine where Test Manager is installed. Once you have connection configured you can save the Web Test Project to Test Manager using File -> Save in Test Manager menu option. Once test is saved to Test Manager you can schedule Test Execution using Tools -> Schedule Project menu option.
For details on creating and executing Test Schedules using Test Manager Web-UI refer to Schedules chapter.
AppPerfect's Functional Testing solution allows you to distribute your test over multiple machines to simulate real-world conditions while testing web or intranet sites, client-server and other multi-tier applications. Testers can easily configure the list of machines on which Test Script should be executed. Functional testing results from all machines are accumulated into a single report for easier analysis. To configure execution of functional test on multiple machines select Project > Properties menu option. It will launch the Project Properties wizard. Select the "Distributed Testing" step where you can configure to run Test script simultaneously on multiple machines. Distributed testing is performed using Web Test service running on the remote machines. Hence, you need to have AppPerfect Web Test installed on all the machines where you desire to execute the test. Web Test uses HTTP protocol to connect to Web Test service on remote machine. To connect to this service, you need to select Protocol (Default is http), provide Host name or IP address of the remote machine, port on which service is listening (Default is 8854) and Context Path (Default is AppService). Normally, you will need to specify only the host name or IP address of remote machine and other fields will take only the default values.
Test Engineers can share the Functional test scripts and results with different members in the team. Functional Scripts can be shared with developers which they can use to run after every source change to check for any regression. AppPerfect supports integration with Subversion (SVN) version control system. For details on integration with Subversion server refer to Team Server Configuration chapter.
IDE Integration is a highly useful feature in AppPerfect products. Once product is integrated in IDE you can start IDE and can execute Functional Testing of your Web Projects from within IDE. You can integrate AppPerfect applications with Eclipse, IBM Rational Application Developer (RAD), NetBeans, IntelliJ Idea, JBuilder, Oracle JDeveloper and BEA Workshop studio.
Select Tools -> IDE Integration menu option to integrate with any of the supported IDEs. For details on integration with IDE refer to IDE Integration chapter.
AppPerfect supports integration with build process smoothly. You just need to export Functional Test project as ANT Script or Command Line script and then you can execute these exported scripts from your build process. This way you can ensure that each build is functionally tested before final deployment. To Export project as Ant Script select Tools -> Export Project as ANT Script... menu option. For details on ANT script execution refer to ANT Script Execution chapter.
Its practically impossible for a human tester to repetitively cover all the test cases with same amount of accuracy over and over again. AppPerfect's Web Functional testing Solution has ability to perform complex set of tasks repetitively with same amount of accuracy every time which makes it both cost effective and reliable solution for functional testing.
Once a test case is recorded it can be played back multiple times with different data sets. Its possible to validate output with different data inputs using the same test case by parameterizing the user input. Moreover tests once recorded can be reused and extended to cover more features and test cases as your application evolves,
AppPerfect's Web Functional testing solution is platform independent. Functional Tests recorded on one platform can be used to play back over different operating systems and hardware configuration and across multiple browsers. AppPerfect Web Test is found to be most affordable, cost effective, efficient, reliable and accurate Functional Testing solution by its customers. In case you have not yet tried AppPerfect Web Test, Download Now and give it a try today.
© 2003-2010 AppPerfect Corporation
AppPerfect is a trademark of AppPerfect Corporation.
Terms of Use |
Privacy Statement |
Site Map