Thursday, August 28, 2008

Understanding the Testing Process

The WinRunner testing process consists of 6 main phases:


1 Teaching WinRunner the objects in your application

WinRunner must learn to recognize the objects in your application in order to run tests. The preferred way to teach WinRunner your objects depends on the GUI map mode you select. The two GUI map modes are described in detail in subsequent lessons.


2 Creating additional test scripts that test your application's functionality

WinRunner writes scripts automatically when you record actions on your application, or you can program directly in Mercury Interactive's Test Script Language (TSL).


3 Debugging the tests

You debug the tests to check that they operate smoothly and without interruption.

4 Running the tests on a new version of the application

You run the tests on a new version of the application in order to check the application’s behavior.

5 Examining the test results

You examine the test results to pinpoint defects in the application.

6 Reporting defects

If you have the Test Director 7.0i, the Web Defect Manager (Test Director 6.0), or the Remote Defect Reporter (Test Director 6.0), you can report any defects to a database. The Web Defect Manager and the Remote Defect Reporter are included in Test Director, Mercury Interactive’s software test management tool.

The Benefits of Automated Testing

If you have ever tested software manually, you are aware of its drawbacks. Manual testing is time-consuming and tedious, requiring a heavy investment in human resources. Worst of all, time constraints often make it impossible to manually test every feature thoroughly before the software is released. This

leaves you wondering whether serious bugs have gone undetected. Automated testing with WinRunner addresses these problems by dramatically speeding up the testing process. You can create test scripts that check all aspects of your application, and then run these tests on each new build. As WinRunner

runs tests, it simulates a human user by moving the mouse cursor over the application, clicking Graphical User Interface (GUI) objects, and entering keyboard input—but WinRunner does this faster than any human user.

** With WinRunner you can also save time by running batch tests overnight.

Benefits of Automated Testing

Fast

WinRunner runs tests significantly faster than human users.

Reliable

Tests perform precisely the same operations each time they are run, thereby eliminating human error.

Repeatable

You can test how the software reacts under repeated execution of the same operations.

Programmable

You can program sophisticated tests that bring out hidden information from the application.

Comprehensive

You can build a suite of tests that covers every feature in your application.

Reusable

You can reuse tests on different versions of an application, even if the user interface changes.

Friday, August 22, 2008

WinRunner Introduction


 

WinRunner is a program that is responsible for the automated testing of software. It is designed to function with Windows applications, and it was designed by Mercury Interactive Corporation, an organization that is based in California. WinRunner will allow you to make comparisons between various outcomes.


 

A series of wizards will be provided to the user, and these wizards can create tests in an automated manner. Another impressive aspect of WinRunner is the ability to record various interactions, and transform them into scripts. WinRunner is designed for testing GUIs, or Graphic User Interfaces.


 

When the user makes an interaction with the GUI, this interaction can be recorded. Recording the interactions will allow you to determine various bugs that need to be fixed. The goal of WinRunner is to make sure business processes are properly carried out. WinRunner uses TSL, or Test Script Language. The input of the user can be customized at various levels. WinRunner will test the computer program in a way that is very similar to normal user interactions. This is important, because it ensures a high level of accuracy and realism. Even if an engineer is not physically present, the Recover manager will troubleshoot any problems that may occur, and this will allow the tests to be completed without errors.


 

When the test is completed, WinRunner will provide you with detailed information regarding the results. It will show you the errors that were found, and it will also give you important information about them. The good news about these tests is that they can be reused many times. For example, if you decide that you want to make modifications to the program, it is not necessary for them to make changes to the actual test. All they would need to do is make changes to the Graphic User Interface Map. The GUI Map is a central collection of information that is related to software tests.


 

Once a change has been made to the GUI Map, it will be reflected in all the scripts that are connected to it. There are a number of powerful advantages that WinRunner has over similar applications. First, it reduces the complexity of setting up scripts for testing. This allows you to test the software without a lot of effort, and you can accomplish it in a short period of time. Another powerful advantage of WinRunner is that it makes a comparison between results that are expected and the results that are manifested. It uses things such as databases, URLs, and text. This allows the software product to have a much higher stability, and the application will be more powerful when it is ready for production.


 

The Recover Manager is a powerful tool that can assist users with various scenarios. This is important, especially when important data needs to be recovered. WinRunner is a tool that has consistently been reviewed in a positive manner. It is of great importance in the software industry. Software development can be a tedious process, and it is very important for users to make sure it is properly tested. In the past, this was exceptionally difficult. Software had to be manually tested, and this often led to a number of errors remaining undetected. With the advent of automated testing tools, things have become much easier. Developers can now focus on the functions of the software, rather than searching for bugs.


 

Errors in a program can be detrimental to its primary functions. The discovery and removal of these errors is an important part of being a developer. Automated programs such as WinRunner can make this task a whole lot easier. Many developers have stated that removing bugs is the most challenging part of software development. WinRunner makes the task easier by finding these errors. Once the errors are found, the developer can focus on correcting or removing them. The testing of the GUI is crucially important. The developer must make sure the testing reflects the type of interactions that will occur in reality. This will allow them to handle errors in a much more efficient manner.


 

By generating testing scripts, WinRunner allows the developer to test the software with a high level of realism. It will test the software in the same way that an actual user would test this, and this would greatly reduce the number of errors that would be found.

Grab this Widget ~ Blogger Accessories