Skip to main content



      Home
Home » Eclipse Projects » RCP Testing Tool » How to force test case runner to clear workspace of AUT on "Run As -> Test cases"?
How to force test case runner to clear workspace of AUT on "Run As -> Test cases"? [message #1710404] Tue, 06 October 2015 08:51 Go to next message
Eclipse UserFriend
Scenario:

1. Eclipse Mars updated with the RCPTT plugins and an RCP project with sources
2. Create new RCP Testing Tool Project from the RCP's run configuration
3. Create new Test Case in RCP Testing Tool Project
4. Call "Run As -> Test Cases" on new Test Case
5. Assign RCP project as the AUT
=> AUT is started, a new run workspace is created at need
6. Record some interactions on the AUT's UI, stop recorder
7. Shut down AUT
8. Shut down Recorder dialog

Issue:

When now calling "Run As -> Test Cases" on the Test Case again, always the existing run workspace is used. However, for my tests, I always need the AUT to start with a cleared workspace when running the test case for recording.

Is it possible to achieve that somehow?

Tried to use the "clear workspace" checkbox on the AUT's run configuration on which the RCP Testing Tool Project was created, but that does not seem to have any effect on the Test Case Runner.

[Updated on: Tue, 06 October 2015 08:51] by Moderator

Re: How to force test case runner to clear workspace of AUT on "Run As -> Test cases"? [message #1710468 is a reply to message #1710404] Tue, 06 October 2015 22:55 Go to previous messageGo to next message
Eclipse UserFriend
Hi Matthias,

That's exactly what Workspace Context does.

Kind regards,
Ulyana.
Re: How to force test case runner to clear workspace of AUT on "Run As -> Test cases"? [message #1710513 is a reply to message #1710468] Wed, 07 October 2015 05:15 Go to previous message
Eclipse UserFriend
Thanks Ulyana.

Guess I need to read the doc more attentively...

Previous Topic:RCPTT Eclipse Mars Plugin NullPointerException
Next Topic:How to increase verbosity of recorder?
Goto Forum:
  


Current Time: Thu Jun 12 15:53:58 EDT 2025

Powered by FUDForum. Page generated in 0.04104 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top