0
的Apache POI保存錯誤消息我有我讀的測試參數Excel文件。 我想保存在同一個Excel文件中測試期間顯示的錯誤消息。我在Excel中創建了名爲「status」的列。我的一個錯誤消息的代碼示例 :硒在Excel
if((Konfiguration.get("some excel parametr").equalsIgnoreCase("metro"))) {
throw new RuntimeException("My error messages");
}
我如何保存在列Excel文件,該錯誤信息名爲「狀態」