[唐胡璐]Selenium技巧- Prop.Properties配置测试应用的环境和其他配置项

 prop.propertiesfile contains important info that needs to be changed before the test is run, such as: Browser type (browser =), Product (test-prod). Depend your test setup; you may not need the test-env and other configurations.

用下面的程序来提取配置文件中的信息:

调用的方式如下图所示:

原文地址:https://www.cnblogs.com/yongfeiuall/p/4134144.html