Ticket #149 (closed enhancement: fixed)

Opened 8 months ago

Last modified 6 months ago

File menu -> Open... needs to open TestScenarios (same for icon toolbar open)

Reported by: fcohen Assigned to:
Priority: critical Milestone:
Version: 5.1 Keywords:
Cc:

Description

Todd Bradfute wrote:

Somewhat related to that ... How do I open a Test Scenario for execution? I've got this "<testscenario>" file in my filesystem, but it's not obvious how the UI opens that? I expected "File->Open Scenario" to open the Control window. And I expected a Tools->Control Window (or something like that). It's relatively clear how to create one, but not how to open one that I saved.

Frank Cohen replied:

The Open icon in the PushToTest button bar opens Test Scenarios. I agree it is confusing.

Change History

10/15/07 22:31:35 changed by fcohen

Ron Warshawsky of DBA InfoPower ran into the same issue. Ron W expected to find a command in the View drop-down menu to open a TestScenario (a Controller as he refers to it.) -Frank

10/30/07 05:48:22 changed by fcohen

  • priority changed from major to critical.
  • type changed from defect to enhancement.

10/30/07 05:52:28 changed by fcohen

  • summary changed from Increase usability to open a TestScenario to File menu -> Open... needs to open TestScenarios (same for icon toolbar open).

11/01/07 16:46:51 changed by fcohen

Hi Luis Carlos:

I'm sorry for sending you on a wild goose chase.

The File drop-down menu is dynamically created by the J Editor.

You need to add new code to line 4442 of org.armedbear.j.Editor. Please find Editor.java in the tm5/j-0-1.21-tmbranch directory under src/org/armedbear/j.

Please add some code there that does this:

1) Opens the standard file selector. 2) User chooses a file. 3) If the file ends in .XML then try to open this as a TestScenario. 4) If the files does not end in .XML then use the J commands to open the file.

Thanks.

-Frank

11/08/07 07:30:09 changed by fcohen

  • status changed from new to closed.
  • resolution set to fixed.

The File drop down menu now offers an Open Scenario command.

The "open" toolbar icon function did not change. The underlying J Editor that supplies the icon toolbar and "open" function should be replaced with code that opens the standard file selector. This can wait until we do a major rennovation of the TestMaker user interface.

-Frank