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

Bạn đã sẵn sàng để sử dụng ràng buộc cuối và hoàn thành nhiệm vụ nâng cao hơn. Chú ý Microsoft Visual Studio. NET IDE đi kèm với một tiện ích (ILD là viết tắt của bộ phận phân tách Ngôn ngữ Trung cấp). Tiện ích này sử dụng một kết thúc trước giao diện để cho phép bạn tải lên bất kỳ lắp ráp | Starting the AutomatedGUITest Project 213 FIGURE A GUI testing process and data flow with minimum human interaction for the automatic GUI testing tool Reviewing test reports for fixing bugs Interface of the GUI testing tool Generating test script based on the collected GUI s. information Specifying an application for the tools to test Collecting GUI information and showing how to test them Starting the AutomatedGUITest Project In Chapters 4 and 5 you developed a functional GUI test library. In Chapter 6 you reused only a few of the methods of the GUI test library and obtained a fully automated test script with limited verification functions. Until now there is still no evidence that a workable test script has been generated by any tool automatically. From here you can follow the steps to start a new project. There will be five subsections representing five classes to be developed in this chapter for the new project. The Startup Form of the AutomatedGUITest Tool In Chapter 6 you simply used the GUI test library and the HandCraftedGUITest project referenced to the assembly. Since the development of the GUITestLibrary will be parallel to the development of your tool I recommend that you make a new folder Chapter07 under the C GUISourceCode folder. Then copy the GUITestLibrary project folder from C GUISourceCode Chapter05 to the new C GUISourceCode Chapter07 folder. NOTE If you are using version control software to complete the tool project you can easily check in check out the source code and go back to the older version. That way you don t have to copy the GUITestLibrary project from chapter to chapter. 214 Chapter 7 Architecture and Implementation of the Automatic GUI Test Tool Start the Microsoft Visual Studio .NET IDE and complete these steps 1. From the main window of the IDE choose File New Project to bring up the New Project dialog box. 2. Select Visual C Projects from the left pane and select Windows Application from the right pane. In .

TỪ KHÓA LIÊN QUAN