jsreesoap's avatar
9 years ago
New Idea

Could you pls make work space available for testrunner.bat?

Workspace file are only available for UI and not for testRunner.bat-

I am trying to retrieve property values of other project by using groovy script at testusite set up script as given below

but it fails when I run it from test runner. It became an issue for our continuous integration effort as it will not work from bamboo.


Here are the details:


Pls check the below command that I have at testsuite level setup script.
Is there a way to make it work from test runner without giving full path to the project.? As the below is not working

def acct = SoapUI.getWorkspace().getProjectByName(" Create-Account-Folio ").getPropertyValue(" IndividualAcc-VA ")

Work around:

WsdlProjectPro project = new WsdlProjectPro("C:\\REST API testing_IAClient-No changes to this folder\\Scripts Sep 2015\\Create-Account-Folio.xml")
def IndividualAccVA =project.getPropertyValue("IndividualAcc-VA")


I need to change the path when I run it from Bamboo as the path to the project I am calling changes, and also sharing the script wtih others.

Could you pls make it work wihout changing the path every time.



No CommentsBe the first to comment