Forum Discussion

mengbinhao's avatar
mengbinhao
Contributor
3 years ago
Solved

How can I loop test group while executing scripts?

Hi There,

I want to run from case 1 to case 3 one time, then loop test group cases for several times,  I know that we can increase count value of one single case to loop it, but what I want is looping test group, Is there any way I can do that? Thanks for your response 

 

  • mengbinhao 

     

    Is this in a KeyWord test or Execution plan?

     

    • EP,  can run items a number of times test will be repeated
    • KW,  I think you would have to insert a loop of some sort depending on  what the loop criteria is

     

    your screenshot would suggest EP

    not an elegant solution but you could put your group as a sub on a test item and iterate that instance

     

3 Replies

  • Lee_M's avatar
    Lee_M
    Community Hero

    mengbinhao 

     

    Is this in a KeyWord test or Execution plan?

     

    • EP,  can run items a number of times test will be repeated
    • KW,  I think you would have to insert a loop of some sort depending on  what the loop criteria is

     

    your screenshot would suggest EP

    not an elegant solution but you could put your group as a sub on a test item and iterate that instance

     

    • mengbinhao's avatar
      mengbinhao
      Contributor

      Lee_M 

      haha,  the screenshot you put here is a tricky way for my case, but It completely meets my requirement, Thanks a lot.

      • Lee_M's avatar
        Lee_M
        Community Hero

        sorry it was a 'hack' but glad it helps