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

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

调用的方式如下图所示:

 

 

posted @ 2014-08-20 13:19  唐胡璐  阅读(215)  评论(0编辑  收藏  举报