On Wed, 2003-11-26 at 04:59, Oliver Heger wrote: > Fine! Then would there be interest for the following feature: > > I have written a simple HTML parser that is able to extract links (<a> > tags, forms, frames) from HTML pages. My tool that I have mentioned in > my first mail, stores these links for all pages that it has loaded. It > then allows to define requests that follow some or all of these > extracted links. > > So after a page was loaded it is e.g. possible to say "follow the 1st > link of this page", or "follow the link with the text xy", or "send the > first form with the following parameters". This way quite dynamic tests > can be defined. > > As far as I understand Latka it at the moment supports only static URLs > that must be defined in the test XML file. This could it make difficult > to test dynamic web applications that generate complex URLs for > accessing its elements. Writing test scripts would be easier if those > URLs could be extracted directly from the loaded pages. > > Do you think this feature is worth to be added to Latka? > > Oli
When I first used lakta I would have used this feature had it been present. I would have liked to get a page with a list of dynamic URLs and then followed the first five, for example. So I expect it would be of interest to future users. There is a link extraction class in the latka code base already but IIRC it was just a command line tool and not integrated in latka. -Janek --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]