Software Quality Symposium
|
| (Up&Coming, November 2009 issue) |
The Software Quality Symposium, hosted by the Japan Science and Technology Association, is a forum where various individuals involved in software development gather to present practical techniques, experiences, know-how, and research results that are useful in real-world settings, and to exchange opinions. This symposium has a long history, marking its 28th year this year.
This year, the event was held on September 10th (Thursday) and 11th (Friday), 2009, at the Toyo University Hakusan Campus. From our company, members of the TestGroup presented a paper titled "Introduction and Maintenance of Automated Testing Considering Costs."
This presentation aims to reveal the unique costs and risks associated with software test automation, and it offers some practical advice on implementing and maintaining automated testing from a cost-reduction perspective. It is based on the experience and knowledge gained through our company's TestGroup's 7 years of continuous efforts in automated testing.
Here, we will introduce an overview of this presentation. |
|
 |
| ▲Toyo University, Shirokan Campus |
● What are the costs associated with test automation?
■ Tool Selection/Purchase Costs and Risks
When considering the introduction of automated testing tools, it becomes necessary to quickly assess whether they meet the needs of the planned tests and how much more efficient they are compared to manual testing. However, this phase carries an extremely high risk. The performance of the tool has a significant impact on the maintenance costs of automated testing, so a wrong choice can directly lead to increased future costs. Furthermore, if you choose an expensive tool, it may be difficult to revert back later.
■ Costs for creating and maintaining test scripts
The success of automated testing depends on how many times test scripts can be reused with minimal maintenance. This is because the initial creation cost of a script is certainly higher than performing a single manual test, but there's a point where repeated use reduces the total cost compared to conducting manual tests each time. The key factor is minimizing maintenance (modification) costs rather than focusing solely on the initial creation cost.
● To reduce the cost of test automation
■ Conditions for test tools
We need to consider both price and functionality. The purchase cost of a tool can become a hindrance in subsequent maintenance. For example, an expensive tool may not be able to accommodate the needs for additional users or departments (requiring more licenses) after it is put into use. Furthermore, switching to better alternative tools becomes increasingly difficult with more expensive tools due to depreciation considerations.
Regarding functionality, we recommend using the simplest tools possible. While expensive tools often have many functions that can be used in scripts and may even include features for integration with test suites, these features can also create a significant barrier to learning how to use the tool effectively. The more features a tool has, the higher the potential cost of creating and maintaining automated tests.
■Conditions for reducing the cost of creating and maintaining test scripts
We consider the types of tests, the timing of their application to the software, and coding methods suitable for automated testing. "Regression testing" is a type of test that is relatively easy to build and promises good results. Regression testing is a process used to verify that changes made to software have not adversely affected other parts of the system. At our TestGroup, we conduct automated tests on target applications that involve performing calculations with minimal operations and comparing the results with previous versions.
Regarding the timing of applying automated testing to an application, it is appropriate to do so only on a stable version that has undergone at least 1 external release. The specifications of applications before their first release are constantly changing, and automated test scripts created during this period tend to require increased maintenance due to these changes, making the implementation of automated testing undesirable from a cost perspective.
When actually creating test scripts, automated testing must consider that the application being tested is one that cannot predict interface changes. The goal is not perfect operation, but rather speed and ease of maintenance. Therefore, for example, GUI operations are kept to a minimum description to reduce the possibility of failure, checks on return values are minimized to improve script readability, and other such techniques are employed. |
|

▲Example of conducting an autoregressive test |
● Test tools
As mentioned in "Conditions for Test Tools," simpler and less expensive tools are generally better than those that are multi-functional and costly. At our company, TestGroup, we began using the shareware software "UWSC" for Windows automation 2 years ago, and as of 2009, we have almost completely replaced WinRunner with UWSC for most automated tests. The introduction of UWSC has resolved problems that existed when using WinRunner, such as the difficulty in adding licenses due to its high cost, the difficulty in introducing it to other departments, and the tendency for maintenance costs to remain high because of its many functions. This has greatly contributed to improving testing efficiency.
 |
|
 |
| ▲Exhibition booths of sponsoring manufacturers |
|
▲ Announcement for an internal symposium at the university |
The URL for this symposium is: http://www.juse.or.jp/software/
FORUM8 paper publication: http://www.forum8.co.jp/product/ronbun.htm
|
|
|
|
 |
|







>> Product comprehensive catalog

>> Premium membership services
>> Financial support
| Recently released products |
|
|
|