chary_chelloji
14 years agoOccasional Contributor
Calling Datasink test step using Groovy
Hello,
Iam trying to run a test case from other test case , which has only datasink test step to insert values in access database tables.
Below code is added to teardown script tab to run the datasink step at the end.
-----------------------------------------------------------------------------
def project = testRunner.testCase.testSuite.project
def runner = project.testSuites['TestReportLog'].testCases['ReportTestResults'].run( null, true )
runner.waitUntilFinished();
but test cases with datasink test step is not being called using groovy code. When I run datasink test step manually, results are being saved into tables correctly.
Iam using SoapUI Pro 3.6 version. Could you please help me to get this working?
Thanks
Chary Chelloji
Iam trying to run a test case from other test case , which has only datasink test step to insert values in access database tables.
Below code is added to teardown script tab to run the datasink step at the end.
-----------------------------------------------------------------------------
def project = testRunner.testCase.testSuite.project
def runner = project.testSuites['TestReportLog'].testCases['ReportTestResults'].run( null, true )
runner.waitUntilFinished();
but test cases with datasink test step is not being called using groovy code. When I run datasink test step manually, results are being saved into tables correctly.
Iam using SoapUI Pro 3.6 version. Could you please help me to get this working?
Thanks
Chary Chelloji