In the practical application, communication quality requirements are increasingly improved. Functionality and reliability of communication equipments have become even more important, the software testing as the last guarantee of a communication system entering the market has been paid more and more attention. A lot of software testing work also contributes to the improvement of software automation. The major communication companies have increased investment in automated development tools. TTCN-3 as the current European and American main automated testing language has a wide range of adaptability. This thesis studies the language of TTCN-3 and selects VLAN as an automated tool development object. In the end I have developed the automated test tool.The main works of this thesis are as follows:1. TTCN-3 and TCL test tool language are introduced. On a test platform the compatibility between TTCN-3 and TCL language is performed.2. Through studying the 802.1Q VLAN standard protocol, a TTCN-3 tool for VLAN protocol is achieved.3. The code of the test tool of TTCN-3 and TCL are finished, including the ASN file, the Template part, the Testcase part, the Function part of the TTCN-3 language section and the TCL language section.4. The thesis realized the compatibility between TTCN-3 and TCL language and VC project calling the network card. By calling SA and PA files, packets are grabed using PC network card for a long time and the results are achived through the judgment of the Testcase. At the same time the result of pass or fail is output to the test file. |