Forum Discussion

jamadarshivani's avatar
jamadarshivani
Occasional Contributor
4 years ago
Solved

Loop entire Scenario

Hello,

 

Can I put a entire scenario in a loop to run it multiple times? Or How can I run a script multiple times?

4 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    For loop, while loop, repeat until... depending upon your code language, you can do whatever you want to create loops.

    • jamadarshivani's avatar
      jamadarshivani
      Occasional Contributor

      tristaanogre 

      I am accessing data from a excel sheet and run the Feature file till all the rows in the sheet have been covered.

       

      In my project I have written several Feature files and scripts some of the steps are also shared. So I have to loop a Feature File multiple times of which steps are present in different scripts in the same project.

       

      How to call the Feature File in any loop like For, while ...?