Selenium-based multi-route test method and system
The invention discloses a Selenium-based multi-route test method and system, and the method comprises the steps: 1, carrying out the environment deployment, enabling an LAN port of a to-be-tested router to be connected with a test computer through a network cable, and enabling a WAN port of the to-b...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a Selenium-based multi-route test method and system, and the method comprises the steps: 1, carrying out the environment deployment, enabling an LAN port of a to-be-tested router to be connected with a test computer through a network cable, and enabling a WAN port of the to-be-tested router to be connected to the Internet through a network cable; 2, enabling the test computer to drive a system browser to open a management interface address of the router to be tested through a Selenium script; 3, enabling the test computer to perform automatic operation on the management interface of the router to be tested in the browser by executing the Selenium script, and executing test; and 4, recording the execution process of the test in a test log, automatically comparing the execution process with an expected result, and outputting a final test result.
本发明公开一种基于Selenium的多路由测试方法及系统,其中测试方法为:步骤1:进行环境部署,将待测试路由器的LAN口通过网线与测试电脑连接,将待测试路由器的WAN口通过网线接入互联网;步骤2:测试电脑通过Selenium脚本驱动系统浏览器打开待测试路由器管理界面地址;步骤3:测试电脑 |
---|