发明名称 PAGE TESTING METHOD AND PAGE TESTING APPARATUS
摘要 Embodiments of the present invention provide a page testing method and a page testing apparatus. The page testing method is used to test a page. The method includes: reading a test sentence used to indicate a page element and a test action; searching for a position where the page element is located on the page according to source code of the page; executing the test action in the position; and verifying an execution result of the test action to obtain a test result. According to the embodiments of the present invention, no action function is needed and instead, a specified test action is triggered directly. Therefore, the complexities of developing and using test software are reduced.
申请公布号 US2014250426(A1) 申请公布日期 2014.09.04
申请号 US201414279616 申请日期 2014.05.16
申请人 Huawei Technologies Co., Ltd. 发明人 Wang Feng;Miao Wei
分类号 G06F11/36 主分类号 G06F11/36
代理机构 代理人
主权项 1. A page testing method used to test a page, the method comprising: reading a test sentence used to indicate a page element and a test action; searching for a position where the page element is located on the page according to source code of the page; executing the test action in the position; and verifying an execution result of the test action to obtain a test result.
地址 Shenzhen CN