Contributions
- 5.2KViews0likes0Comments
Run Particular Test Steps on different suite in the Same Project
Hi , I want to run particular test steps. I am getting null value when I run this code under the same project but different suite. My requirement is run specific test steps. Project Suite1 Test Cases1 Test Steps 1(Here is my Groovy code and needs to run Test Steps 2 under Suite2 Suite2 Test Cases2 Test Steps 2(This needs to be run) def tCase = testRunner.testCase.testSuite.testCases["TC1_DDP_New_to_HSD_SIK"] def tStep = tCase.testSteps["getTestCasesToExecute"] log.info tStep tStep.run(testRunner, context) Could any one assist me Please Thanks Amy1.5KViews0likes4CommentsEnable & Disable test steps
Hi, I am looking for a help. Would you please assist me. I need to disable and enable test steps. Below code is not disabling particular steps from Test Steps. My requirementi want to disable first all the Test steps under test cases then based onscenarios then i need to do enable specific test step. I tried below code as well. But it is not enable/disable specific test steps. http://saurabhguptaqe.blogspot.com/2013/05/enable-and-disable-test-steps-in-soapui.html 1) Create a Suite and Test case and test steps then trying to disable all the stpes that i have created. Wants to disable particular test steps. def testStep = testRunner.testCase.getTestStepByName( "getDataInputsFromExcel" ) if( testStep.disabled ){ log.info "Disabled" testRunner.testCase.getTestStepByName( "getDataInputsFromExcel" ).setDisabled(false) } else { log.info "UnDisabled" testRunner.testCase.getTestStepByName( "getDataInputsFromExcel" ).setDisabled(true) } Thanks, AmySolved5.4KViews0likes4Comments