Ask a Question

How can I loop test group while executing scripts?

SOLVED
mengbinhao
Contributor

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 

 

无标题.png

3 REPLIES 3
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

Lee_M_0-1635259370179.png

 

@Lee_M 

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

sorry it was a 'hack' but glad it helps

cancel
Showing results for 
Search instead for 
Did you mean: