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

 

相關文章
相關標籤/搜索