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.
定义
1  | # Browser type  | 
提取
1  | public class GlobalSetting  | 
#引用1
2
3
4@Test
public void doTest(){
	System.out.Println(GlobalSetting.baseURL);
}