Nikita
6 years agoNew Contributor
soap UI Open source- groovy code
I am trying to fetch data from datasource excel sheet in soap UI using below code but getting error-
Groovy code-
1. import jxl.*
2. import jxl.write.*
3. def f= new File("\\Entsserver85\\usisqaqc\\Group\\QA
Testing\\PhysicalRecords\\Data\\TestData.xls")
4. def workbook1= Workbook.getWorkbook(f)
5. def sheet1=workbook1.getSheet(0)
6. def rc= sheet1.getRows()
7. log.info rc
error message-
grrovy.lang.missingPropertyException: No Such Property: Workbook for Class: Script 59 error alt line: 5