We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
Hello,
Can I put a entire scenario in a loop to run it multiple times? Or How can I run a script multiple times?
Look into Data Driven Testing in the documentation. You'll be probably using a DDT.ExcelDriver to build your loop and looping with a while loop until EOF.
See https://support.smartbear.com/testcomplete/docs/testing-with/data-driven/drivers.html
For loop, while loop, repeat until... depending upon your code language, you can do whatever you want to create loops.
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 ...?
Look into Data Driven Testing in the documentation. You'll be probably using a DDT.ExcelDriver to build your loop and looping with a while loop until EOF.
See https://support.smartbear.com/testcomplete/docs/testing-with/data-driven/drivers.html