[唐胡璐]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.3d

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

调用的方式以下图所示:io

 

相关文章
相关标签/搜索