‘Given Inputs’
TestData data = findTestData(‘Test data - admin/testdata_admin’)
data.changeSheet(‘Sheet1’)
def FilePath = data.getValue(1,1)
'Choose pdf File for Upload ’
WebUI.uploadFile(findTestObject(‘Admin/FeePaid/Choose_File’),FilePath)
Storing all the Files in Project Folder
Project Folder->Data Files-> Files
when the Particular file is to be uploaded it should fetch from Data Files Folder
Please guide me on How to give the FilePath in Excel sheet?
The path may change depends on user who downloads the project in their specific path