I have written test suite
test cases as follows:
when one of test case failed, I want the screen back to main page. so next test case can start correctly.
how can I do so?
e.g. While executing current test, if previous case failed, then go to main page before start current test. otherwise, proceed current test as usual.
*** Settings ***
Resource ../Resources/res.robot
Suite Setup Suite Setup Suite
Test Setup Test Setup
Suite Teardown Test Teardown
*** Test Cases ***
TC1
Launch App
main page click button A
Page ${TITLE} Test1
Go Back
TC2
Launch App
main page click button A
Open Page ${TITLE} Test2
Go Back
TC3
Launch App
main page click button A
Open Page ${TITLE} Test3
Go Back
resource file
Suite Setup Suite
Test Setup
Launch Application
Test Teardown
Log Source
Close All Applications
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…