Same browser session_Multiple iterations of a test case in the same session of a browser

Hi Team,

I have a query regarding the test execution through test suite.
We have a scenario wherein we have to execute a test suite which contains some test cases.
Each test case picks up data from the test data file. The test data file contains 5 rows of data(5 iterations).
We want the this particular test case to execute 5 times or iterate 5 times in the same browser session. Is there a way to do this?
At the moment, the test cases executes 5 times but the browser session closes each time the test case is executed and then opens a new session for the next iteration.
What we need to do is to eliminate this particular need to open a new browser session and the test case to execute 5 times in the same browser.

How can we do this in Katalon?

Thanks

Solution:

Test Suite calls Test Case 1…

Test Case 1 - “Opens a browser”, Calls Test Case 2, Calls Test Case 3 … Calls Test Case N, then “Closes the Browser”…

Test Case 2 - Uses an external data file and loops through each row performing the desired test…
Test Case 3 - Uses an external data file and loops through each row performing the desired test…
…
Test Case N - Uses an external data file and loops through each row performing the desired test…

1 Like