Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 12:51 Go to next message
Matthias Paul Scholz is currently offline Matthias Paul ScholzFriend
Messages: 40
Registered: May 2012
Member
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 12:51]

Report message to a 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] Wed, 07 October 2015 02:55 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
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 09:15 Go to previous message
Matthias Paul Scholz is currently offline Matthias Paul ScholzFriend
Messages: 40
Registered: May 2012
Member
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: Fri Apr 26 04:24:14 GMT 2024

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

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

Back to the top