windows下1)相对路径public static final String TestDataExcelFilePath="src/omstestdata.xlsx"; 2)绝对路径public static final String TestDataExcelFilePath="E:\\test\\omstestdata.xlsx";