Hi Marc, thanks for your quick answer. No, I don't use the webtest.xml. Do you have an example DTD file so I can see how it should look like?
Stefan Marc Guillemot wrote: > > Hi Stefan, > > you just need to put your entities in a DTD file and reference this DTD > from your xml files. > > If you use WebTest's webtest.xml this DTD file can be generated > automatically if you follow some conventions for the names of your > entities. > > Marc. > -- > Blog: http://mguillem.wordpress.com > > > Stefan Seger wrote: >> Hello, >> >> I have a lot of test cases written in Canoo webtest, and stored often >> used >> steps in different files. In my test cases I load this files into the >> test >> case with <!ENTITY> tag. For example: >> >> <!ENTITY config SYSTEM "file:../../config.xml"> >> <!ENTITY login SYSTEM "file:../../login.xml"> >> <!ENTITY adminModule SYSTEM "file:../../adminModule.xml"> >> <!ENTITY headFrame SYSTEM "file:../../goToFrames/headFrame.xml"> >> <!ENTITY mainFrame SYSTEM "file:../../goToFrames/mainFrame.xml"> >> <!ENTITY tabcontentFrame SYSTEM >> "file:../../goToFrames/tabcontentFrame.xml"> >> >> The problem I have now: I must always copy new entities in all my test >> cases. Is there a way to store all my entities in ONE file and include >> this >> also in each test case? I hope it's clear what I mean. >> >> Regards, >> Stefan > > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > > -- View this message in context: http://www.nabble.com/Organize-entities-in-a-single-file-tf4428929.html#a12634911 Sent from the WebTest mailing list archive at Nabble.com. _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

