I\'m trying to run a testing suite using XML and TestNG, but I\'m always getting the same message using both: Eclipse and the command line:
[TestNG] Running:
/
There were two problems in the code:
1. This was because, my @Test method was calling another method which will return a Boolean. Once I commented the same @Test and the method, the whole testNG xml started working.
2. Second mistake was , I was using the below ,that was a wrong assignment of Poi Classes.
Workbook WB = new XSSFWorkbook(FIS);
Sheet WSh= WB.getSheetAt(1);
I changed the above to below:
XSSFWorkbook WB = new XSSFWorkbook(FIS);
XSSFSheet WSh= WB.getSheetAt(1);
After both of those above corrections, the script started working.