[ptt-users] Re: TM 5.1 RC 2: testgen4web output "is not well formed"?

Lars Huttar lars_huttar at sil.org
Thu Feb 21 14:18:03 PST 2008


P.S. The same error occurs with the example that is installed with TM:
"The file C:\Program 
Files\PushToTest_TestMaker\example_agents\testgen4web_examples\PTT_Examples_UnitTest.testgen4web 
is not well formed."

On 2/21/2008 3:13 PM, Lars Huttar wrote:
> Hello,
> Boning up for next week's seminar, I went back to the responder at
>    http://examples.pushtotest.com/responder/htmlresponder
> and recorded a test using TestGen4Web. Then I had TG4W save the test 
> as a file, example-tg4w.xml.
> Then I started TM 5.1 (RC 2) and clicked the Open tool button, 
> navigated to example-tg4w.xml, and opened it.
> The unexpected behavior: I got a message box saying the file 
> ...\example-tg4w.xml "is not well formed."
> After clicking OK, I got another message box asking if I wanted to 
> open the file for editing.
>
> Well, I thought the tg4w output was supposed to be (well-formed) XML, 
> so I opened it in another XML editor (Oxygen) and ran the 
> well-formedness check. Oxygen says it's well-formed. What gives?
>
> Maybe TM means that it was expecting to open some other type of XML 
> document, such as a test scenario, and that example-tg4w.xml is not a 
> *valid* (as opposed to well-formed) instance of that document type?
> That's the only explanation I can think of off the top of my head.
> If so, it would be nice if
> (a) the "Open" button had some indication that it meant "Open Test 
> Scenario", either on the button label or on a tooltip; and
> (b) the error message would say "is not a valid test scenario" instead 
> of "is not well formed".
>
> Or maybe it means something else entirely?
>
> I'll attach the example-tg4w.xml file here.
> By the way I'm using Firefox 2.0.0.12.
>
> Regards,
> Lars
>
>



More information about the Users mailing list