[ptt-users] TM 5.1 RC 2: transformer silently fails?

Lars Huttar lars_huttar at sil.org
Thu Feb 21 14:33:29 PST 2008


As reflected in my previous message, I've been trying to follow along 
with the Google tech talk on PTT from last August.
Just now I tried to do the magic of transforming a unit test into a 
functional test. Here are the steps I tried:

- had example-tg4w.xml open in an editor window in TM;
- select Tools / Transform... (inferring that's what Frank did in his 
presentation);
- on the Transformer dialog, filled in the paths: ...\example-tg4w.xml 
and ...\example-tg4w.py
  and selected the radio buttons TG4W Test and Jython.
(I also tried this with and without checking the Create a functional 
TestScenario box.)

When I click Transform, the Transformer dialog closes, but nothing else 
seems to happen.
The ...\example-tg4w.py file in particular does not appear.
I get no output in Console Output, or in any of the other panes of that 
window.
No errors.

Maybe there's something wrong with my example-tg4w.xml, but it ran fine 
when I replayed it in TG4W in Firefox.

Again the .xml file is attached.

Note however, when I try this transform on the example that is installed 
with TM,
C:\Program 
Files\PushToTest_TestMaker\example_agents\testgen4web_examples\pttfrozen1_PTT_Examples_UnitTest.testgen4web, 
the transformer works: it created the file I requested (fntest1.py) and 
opened it in a buffer.

And, going back to example-tg4w.xml, if I have it open and I click the 
"New Functional Test" button and specify example-tg4w.py in the Save 
dialog, TM successfully creates the functional test as requested, and 
opens a controller pane to run it. (Oops, I later realized that this 
should not have been named *.py as it's an XML document.)
On the other hand, it does not open example-tg4w.py in a buffer; neither 
immediately, nor even when I click the Open toolbutton and navigate to 
the file. And again, no errors. The only way I can load example-tg4w.py 
in a buffer is to drag and drop it into TM.

I'm also seeing other UI problems with TM... but I should probably put 
them in a separate bug report.
Should I enter these in the tracker, or keep posting to this list? At 
one time I requested a login for the tracker, but as far as I can find 
or remember I didn't hear back about it.

Regards,
Lars


-------------- next part --------------
A non-text attachment was scrubbed...
Name: example-tg4w.xml
Type: text/xml
Size: 2519 bytes
Desc: not available
Url : http://cake.pushtotest.com/pipermail/users/attachments/20080221/063b2312/example-tg4w.xml


More information about the Users mailing list