Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 在Selenium中自动化大约2000个测试用例的设计和框架_Java_Selenium_Selenium Webdriver - Fatal编程技术网

Java 在Selenium中自动化大约2000个测试用例的设计和框架

Java 在Selenium中自动化大约2000个测试用例的设计和框架,java,selenium,selenium-webdriver,Java,Selenium,Selenium Webdriver,我有大约2000多个需要自动化的测试用例。在创建框架时,我需要遵循什么过程和关键因素?例如,代码重用,使用页面对象模型。从测试用例方面: 您可以在excel工作表中保留多个测试用例,以便轻松分析测试结果 当您在每个页面上没有页面和控件时,页面对象模型是好的 编写可重复使用的方法总是更好的 关键字驱动的框架将是很好的方法 You should keep in you mind all key points and features of the automation framework:- re

我有大约2000多个需要自动化的测试用例。在创建框架时,我需要遵循什么过程和关键因素?例如,代码重用,使用页面对象模型。

从测试用例方面: 您可以在excel工作表中保留多个测试用例,以便轻松分析测试结果

当您在每个页面上没有页面和控件时,页面对象模型是好的

编写可重复使用的方法总是更好的

关键字驱动的框架将是很好的方法

You should keep in you mind all key points and features of the automation framework:-

re-usability of the code.
screenshot of all and every failure.
error log should be easy to understand.

To analyse the test case: you can keep multiple test cases in excel sheet so that you can easily analyze the test results