0

I tried like below in Mac

Sheet guru99Sheet = file.readExcel(System.getProperty("user.dir")+"//", "//TestCase.xlsx" , "KeywordFramework");

This is my exact file path

/Users/anakin/Documents/workspace/KeywordDriven/TestCase.xlsx 

but when I ran it in selenium I got the exception below.

/Users/anakin/Documents/workspace/KeywordDriven/\/TestCase.xlsx(No such file or directory)

Can anyone please help me on this how to set path on Mac

Manish
  • 31
  • 1
  • 5

0 Answers0