且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

SRC和amp;下的Cucumber + Maven + POM项目的目录结构TEST文件夹

更新时间:2022-04-18 23:53:59

具有Cucumber + POM的Maven项目的项目结构

基本包包含Page对象初始化类,可以在其中将其扩展到所有页面类

base package contains Page object initialization class where it can be extended to all the page classes

浏览器软件包包含浏览器工厂类,该类包含调用Chrome,Firefox,IE等的方法,

browser package contains the browser factory class which contains the methods to invoke Chrome, Firefox, IE etc.,

自定义例外程序包,用于引发自定义消息

custom Exception package used to throw the custom messages

功能包包含功能文件

页面包包含页面对象类,例如登录名,具有相关Web元素和方法的主页

pages package contains the page objects classes like login, home page with the relevant web elements and methods

资源包包含驱动程序信息,测试数据信息,xml配置,属性文件等,

resources package contains the driver information, test data information, xml configuration, property file etc.,

运行程序包包含手动创建的运行程序类.否则,我们可以在maven并行插件依赖项中为动态运行器类创建引用相同的程序包.

runner package contains the runner classes which is created in manual. Otherwise we can refer the same package for dynamic runner class creation in maven parallel plugin dependency.

步骤包包含每个特定页面的步骤定义.

steps package contains the step definition for each specific pages.

utils软件包包含实用程序类,例如通用实用程序,硒实用程序,excel实用程序等,

utils package contains the utility classes like common utility, selenium utility, excel utility etc.,

低于目标

黄瓜-并行包含并行执行报告

黄瓜报告包含常规执行报告

generated-test-sources 包含动态运行程序类文件,该文件在运行时创建用于并行执行.

generated-test-sources contains the dynamic runner class files which is created during the run time for parallel execution.