I'm creating a data driven test.
1. Navigate to page.
3. Click link
4. Fill in text fields
5. Click save
If all steps complete without failing, each record in the data is executed correctly. However, if step 4 fails, test studio goes to the next record in the data and starts back to step 1. However, because the system is already logged in, and the logout has not occurred, step 2 cannot be completed because those fields don't exist.
My first thought is... can test studio upon step failure close and restart the browser, which effectively logs you out of the system. Or, is there a way to run a step, such as step 6 logout on failures?