Service Virtualization

  • 1.  Use filter from one test case to other

    Posted Oct 23, 2017 02:18 PM

    Is there a way to use a filtered value from one test case into other. Say I have a test suite of 5 test cases and want to use property/filtered values from 1st test case to others. 



  • 2.  Re: Use filter from one test case to other

    Posted Oct 23, 2017 02:26 PM

    Hi Jagadish, which product are you using? We will add this question to the appropriate category once we know so the correct product team can answer it. 



  • 3.  Re: Use filter from one test case to other

    Posted Oct 23, 2017 02:51 PM

    I am using DevTest 10.1



  • 4.  Re: Use filter from one test case to other

    Broadcom Employee
    Posted Oct 23, 2017 04:35 PM

    Jagadish,  you could write the property to an external file  and then read that file in the next testcase and so on... 



  • 5.  Re: Use filter from one test case to other
    Best Answer

    Posted Oct 24, 2017 01:38 AM

    A couple of other ways is

     

    1. Create a new "master" test case and import the other test cases as "sub processes". You should then be able to output the filtered value from one sub process and provide it as an input to the next "sub process".

     

    2. Do some scripting and use the com.itko.lisa.vse.SharedModelMap to save the values into a global hash map.