tailieunhanh - Effective GUI Test Automation Developing an Automated GUI Testing Tool phần 2

Các công cụ thử nghiệm có thể ghi lại các kịch bản thử nghiệm nhanh ở giai đoạn đầu của chu kỳ đời phát triển phần mềm. Ví dụ, khi một nguyên mẫu giao diện của một ứng dụng có sẵn, tính năng chụp / xem lại có thể ghi lại một kịch bản thử nghiệm suôn sẻ hơn ở giai đoạn sau khi tích hợp các mô-đun có lỗi. | Advantages and Disadvantages of the Commercial Testing Tools 29 Testing tools can record quick test scripts at the early stages of the software development life cycle. For example when a GUI prototype of an application is available the capture playback feature can record a test script more smoothly than at the later stage when more modules with bugs are integrated. The test script can be maintained and edited later with more testing functions. The testing tools also have test harnesses to manage the automated test scripts. Testers can use the available harnesses to schedule testing executions and manage effective regression testing by reusing the script library. In addition testers can use these tools as learning assistants. Testers can use the tool to learn the properties of different GUI components and learn how to operate different GUI components programmatically. During the process of editing the recorded test scripts the testers will get familiar with syntax of the script language and structures of the test scripts. An experienced tester discards the capture playback feature but uses the test script manager in a testing tool. The Common Features of Capture Playback The capture playback approach records test scripts by recognizing GUI elements by their ID or by a combination of attribute values. Any change to the attributes will deteriorate the scripts from running. When this happens the test scripts need to be rerecorded edited and debugged and it s possible that all the testing data created for the previous test scripts would be obsolete. Continually regenerating test scripts is time consuming. Testing tool vendors all claim their tools include the capability of recognizing object-based GUI components. However testers often find that a tool might recognize GUI objects created within one development environment and not recognize objects created within other environments. The reusability rate of the test scripts recorded by capture playback is usually low. Some

TỪ KHÓA LIÊN QUAN