[Webunitproj-users] Re: WebUnit
Brought to you by:
dgan
From: Doron <dg...@sh...> - 2002-12-13 18:20:25
|
Hi Keith, Sorry for responding late but things have been crazy for me (buying a house). First, you should send your requests to the mailing list as most people monitor that. See my comments below for the solutions we can do ---> On Tue, 2002-12-10 at 11:37, Keith Sauvant (AC/UB2.22) wrote: > Hi dgan! > > First of all: Thank you for this great tool! > We started using it some weeks ago and succeded to use it in a lot of > cases. > > As always: There are still some questions left... We already tried the > sourceforge.net "Support Request" tracker but had no luck until now. You > encourage your users to contact you using this email adress so - here we > are :-) > > The questions: > > 1) How to react on JavaScript popups? ->> We can use the windows API to look for the popup and click on the button of choice. This assumes that the IE API does not have anything to deal with this. I have code that does this generically but it needs to be integrated into web unit. I can send you this code and some instructions if you want to do it, or if you can get someone on the list to help. I would volunteer but I am behind on a project at work. > Is there a possibility to react on popups caused by something like: > onClick="return confirm('really delete entry?') > in a link tag? > > > 2) How to submit a form using img-button? > Is it possible to submit a form using an "<input type=img..." button? > Found no way to click it by now... ->> Yes. the latest code in CVS allows you to click on any WebTag. > > > > 3) Is it possible to use onChange="this.form.submit()" for form > elements? > IE seams to ignore above eventhandler when value in a selectbox is > changed using WebUnit... Any experience with that? ->> Yes, you have to fire an event. There is an example of firing events in the latest code in CVS. I don't think we ever added an arbitrary API to do that from the Sun Java side. If not, then this is a good time to do it. > > > > Thanks in advance from Aachen, Germany > Aspera OHG > > Keith Sauvant -- Doron <dg...@sh...> |