[Webunitproj-users] RE: enterprise web test
Brought to you by:
dgan
From: Doron <dg...@sh...> - 2002-11-01 16:54:01
|
Hi Brian, First you need to generate a test case (that generates some dynamic HTML based on a javascript event (like a button push). Then the test case needs to use web unit to drive the page, pressing the button, and then trying to do something else on the generated html (like pressing a button) This will cover the dynamic HTML test case. The second part you should probably have all the events that you will need but if not we can add an API to generate all the HTML events for each HTML component which will allow you to generate all events without having to modify web-unit. So you have two options on how to get this done: 1) You can code it yourself (its not too hard). OR 2) You can send us the test case and we can add/fix code to make sure it works. This method depends on us having some free time to code this up. Erik seems to have more time than I do these days. However, it should take 1-2 weeks to do it worst case (very conservative estimate). -Doron On Fri, 2002-11-01 at 11:11, Brian Knorr wrote: > Great... we are really looking forward to using web unit for testing our > applications, and it sounds like with just a little work, Web Unit could > fully satisfy our testing needs. What is the process to have the > remaining javascript events supported, as well as dhtml? Any idea on a > timeframe we could be looking at for a release of these new features? > > Thanks, > > Brian > > > > -----Original Message----- > From: Doron [mailto:dg...@sh...] > Sent: Friday, November 01, 2002 6:55 AM > To: Brian Knorr > Subject: Re: enterprise web test > > Hi Brian, > > Web unit supports complex java script since it really is NOT > involved > in processing (I.E. does the work). Web unit can be used to actually > generate any event on any HTML component but right now it just does the > simple stuff (like onChange on a select when the code changes the value > of a select field and key up on a text field change when the code > changes the text value). More events can be added easily. > > As for dynamic HTML, it may be necessary to add a tiny bit of > code to > tell WebUnit NOT to cache the text of an HTML page once it is received > from the server since it can change via DHTML. This will slow things > down some (depending on how big the HTML is) but it will work. > > -Doron > > > On Thu, 2002-10-31 at 17:28, Brian Knorr wrote: > > Hello there... > > > > > > > > We are looking at the various open source testing tools and came > across > > Enterprise Web Test... from what we have read and seen it looks very > > promising. Quick question: we are creating a very javascript/dtml > > intensive application tailored for Internet Explorer 5.5+... does > > Enterprise Web Test support complex javascript and dhtml (manipulating > > the dom, triggering off of all available events, etc...)? If not, how > > difficult would it be to fully support all the javascript that IE has > to > > offer? Please let me know what you think... thanks, > > > > > > > > Brian > > > > |