I have following test suite structures in my mind:
- Test Suite 01, has one test case (TC01) in side.
- Test Suite 02, has one test case (TC02) in side.
- Variable file available and imported both Test suite as resource.
- Variable file has one List @{List}, with several values
- In TC01, I output the content of @{List}
- In TC02, I first Remove ${List} index 0, and set it as a new variable with same name: Remove From List ${List} 0, and then ${List}= Set Variable ${List}, Set Global Variable ${List}
- Then out put new ${List}
--> Everything works out correctly till then:
- After TC02 finished, I made RF perform TC01 again, and this time I think it should use new ${List} value, but it's not. Because Variable File has higher priority.
How can I made TC01 use new global variable ${List} later in second time?
Is that possible?
Thank you very much in advance.
Well, finally I solve this problem.
Before reboot save the needed variable and value into sqlite db, and fetch them after reboot.