I am using an Excel sheet with two tabs (sheets) as a test data source. I have uploaded the Excel file under “Data Files”. The Sheet Name is defaulted to “Sheet1” but I need data from “Sheet2”.
My script is below:
TestData data = findTestData(‘Test data master’).changeSheet(‘Sheet2’)
It returns null so I assume that “changeSheet” function is not working.
Reason: java.lang.NullPointerException: Cannot invoke method internallyGetValue() on null object