|How to restart RCP application for each case? [message #692300]
||Mon, 04 July 2011 07:20
| Yongqiang Li
Registered: October 2010
Today I installed SWTBot and it was very handy.
I think we will use it to write UI test cases.
Here I have a question.
When I write a test case, I want each one should be standalone, which means every case may start at RCP application starts.
So in my test case, maybe there will be such code at the end of each code:
But as I tried, in one case, if the Exit menu is clicked, following cases can't be run. There will be an error about "Can't find the display".
So can I restart the RCP application for each test case?
Or I should change my mind of writing test cases?
Thanks in advance.
Powered by FUDForum
. Page generated in 0.02291 seconds