自动化测试如何加载配置文件。

properties.load(In);//加载出配置文件

4.properties.getProperty("username");//根据相应的key值获取到配置文件中的定位方式和定位值。

5.具体代码如下:

原文地址:https://www.cnblogs.com/wangffeng293/p/12433125.html