Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 214671 - [Usability] Provide option to open Test Perspective after creating test assets.
Summary: [Usability] Provide option to open Test Perspective after creating test assets.
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Paul Slauenwhite CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 206356
Blocks: 206355 230280 231376
  Show dependency tree
 
Reported: 2008-01-08 15:49 EST by Harm Sluiman CLA
Modified: 2016-05-05 10:31 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harm Sluiman CLA 2008-01-08 15:49:56 EST
Create a Java project and then create a new test from recording and point it to the appropriate project. Because you are not in the test perspective you can not generate the Java code or run the test, and there is no hint that you need to be in the test perspective.
Once the artifact is created the user should be prompted and asked if they want to swith to the test perspective. OR the generate action should be available on one of the created artifacts that will show up in the Java perspective.
Comment 1 Paul Slauenwhite CLA 2008-01-14 07:57:05 EST
The URL Test type will be changed under defect https://bugs.eclipse.org/bugs/show_bug.cgi?id=123650 (target: 4.5 I6) to auto gen the test code, similar to the JUnit/Plug-in test types.

This defect will handle opening the Test Perspective after the user creates a test asset using one of the wizards (e.g. artifact, deployment, test suite, location, and recording).  Also requires a preference for this similar to the 'open editor after creation' preference and a prompting dialog confirming the user's choice when the Test Perspective is opened.

Open the Test Perspective (and Test Log View) after launching a test will be covered under defect https://bugs.eclipse.org/bugs/show_bug.cgi?id=186148 (target: 4.5 I6).
Comment 2 Paul Slauenwhite CLA 2008-02-28 16:15:40 EST
Most of the work for this defect was completed under defect 206356 (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=206356#c9) in org.eclipse.hyades.test.ui.internal.util.TestUIUtilities.java.

However, this action and preference is now used when:

-generating a test suite from a recording
-importing a recording file

The following fiules checked into CVS (HEAD):

org.eclipse.hyades.test.tools.ui.http.internal.importWizard.HttpImportWizard.java
org.eclipse.hyades.test.ui.internal.util.TestUIUtilities.java
org.eclipse.hyades.internal.execution.testgen.ui.TestgenUIUtility.java
org.eclipse.hyades.test.ui.testgen.util.TestgenUtil.java

Comment 3 Paul Slauenwhite CLA 2009-02-25 11:58:42 EST
Closing by default since not closed by the originator in the 7+ months since
being resolved.  

Please reopen if the issue is still present in the latest TPTP release or the
resolution is not correct.