ContributionsMost RecentMost LikesSolutionsGet xls data in loop in groovy scriptHi , I have a testsuite with many test cases . I run this test suite of tcs from groovy script step in a loop . I want to have testcase ids in a xls(external data sheet ) and for each iteration of for loop want to read one row from xls . Want to read xls data in a loop in groovy.How can i do this ? Is it possible to do the same thing thro data grid ? meaning i want to read one grid row per loop iteration. Thanks in advance ThanksRe: Get all test step result of a test caseThanks , it logs the status of each step. Possible to get the "teststep name" as we get the test case name and for each status 'Failed'/'Passed' log the info. ThanksRe: How do I use a variable in getTestCaseByName()Hi , Thsi is working fine for me as well: When I run this command in testCase setupScript I got whot you want: def tc = testRunner.testCase.testSuite.project.testSuites["a"].getTestCaseByName("b") where a is name of my testSuite and b is name of my testCase. I want to use the variable name in place of "a" /'b" . Say you have array of test case names and want to input arr there in place of test case name in the above . Hope its clear now. thanksRe: Passing the result of one test case execution to the otherThat did work .It serves the purpose when u want to have the result of one test case to be used in other . I'm thinking if we can have one data sheet for all test cases . when all the test cases should use the data as in the data sheet ,instead of including all the "property file "(data file) in each test case ,its better we can have a global data set? How can we cahive this? thanksRe: [RES] calling .groovy function from tear down scriptThank you ,its working . Hence , this thread can be closed . ThanksGet all test step result of a test caseHi I have several soap request test steps in a test case . Each step (soap request)has many added assertions .I want to get the status of each soap request(test step) as "finished " when all the assettions pass otherwise ,fail. How do i accomplish this in groovy? Right now ,i can get the results of all the test cases in a test suite in groovy ( test case shows failed is any assertions or steps fail) .This is to get the test step result. pls advise. Thanks,Re: Passing the result of one test case execution to the otherHi , you mean i set the property transfer step's source value to "test case 1" propertyfile name and target to property step in test case 2 ? Even then i don't see test case 1 steps listed in test case2 property transfer and vice versa. I saw in property step property , it doen't have a option to get the value directly from source file unless property tranfer is used. In property transfer i see only the steps of that test case only along with global and testsuite names .when clicked on test suite in source file drop down ,property drop down becomes empty. pls help. Other thing i wanted to know is can we have something like Global data so that all test cases use it . thanks,Passing the result of one test case execution to the otherHi , I have a requirement as follows: I have bunch of test cases . First test case executes and its value is captured in property file of the same test case . I have other testcases in the same test suite, which should use the data populated by testcase 1 in propertyfile step of test case 1. Pls advise as how i do this. Thanks in advance ,[RES] calling .groovy function from tear down scriptHi , I have a groovy script step in the same test suite as other test cases .This groovy script runs all the test cases in the test suite in a loop. It then calls one user defined groovy method to update the results( this is a groovy method defined in grovy class and the package is added to the default path of the SOAP UI) .This method is invoked thro the object of the class containing this method ) . In Groovy step ,in order to call this method ,we need to specify this package. Could I be able to call this method from tear down script, same way its done in groovy step by specifying the package name there? ThanksRe: Data driven test suite executionCould you pls elaborate it how i achieve this ? I could add a 'Run Testcase" step . Do we need to point the run testcase step to the test request (test case in same testsuite) thanks you,