My Appium script perfectly working on local but moving to aws device farm, returns error because of not getting data excel file. I put the class files under “src/test/java” and excel file under “src/test/resources”.
My script sample is provided below
public static void changeCity() throws InterruptedException{
try{
File src = new File("/acme-android-appium/src/test/resources/data1.xls");
Workbook wb = Workbook.getWorkbook(src);
Sheet sh1 = wb.getSheet(“Cities”);
Cell c1=sh1.getCell(0,1);
…
Please help me to resolve the issue.