Forum Discussion

dilawar's avatar
dilawar
Occasional Contributor
2 years ago

How to use soapui in php like library

When I try to run a DataSource I receive the following error: An error occured: C:\..\ep-test-automation\resources\test_data\banksparen-chain\qanda.banksparen-chain.xlsx (The system cannot find the path specified).

 

In the project settings I have the following settings:

File - C:\software-vm-3\ep-test-automation

Resource root - ${projectDir}/ep_test_automation/resources

When I run this in a Groovy script:

def projectPath = testRunner.testCase.testSuite.project.getPath()
log.info projectPath

the project path is this: C:\software-vm3\ep-test-automation.

The actual file is located here: C:\software-vm3\ep-test-automation\resources\test_data\banksparen-chain\qanda.banksparen-chain.xlsx

 

Does anybody have a suggestion?