GWT Application OK

Applying eValid to AJAX applications that require advanced DOM-based methods.

GWT Application OK

Postby swtesting » Thu May 29, 2008 4:21 pm

I'll try, not sure if they have one, this is a new version of the app based
on GWT, the generated code it is quite a mess from the testing point of view. The "popup" page is opened eventually by a window.open call, but there' s no chance of catching that, it is done in AJAX way, somewhere in background. And there are a lot of dynamic generated session and transaction IDs.

Thank you.
swtesting
 
Posts: 35
Joined: Thu May 29, 2008 3:51 pm

Re: GWT Application OK

Postby Ajax » Fri May 30, 2008 4:25 pm

Aha! GTW is AJAX and that's a different matter.

Probably the action you want is being taken too early, so you
need the AJAX synchyronizations:

* eValid has special commands that can be used to achieve playback
synchronization based on internal properties of pages, a capability
that is essential in certain AJAX implementations:

http://www.e-Valid.com/Products/Documen ... n.dom.html

The window.open call should be no problem, but if your script
hasn't waited for it -- this is AJAX remember! -- then it will
look like an eValid mistake, but it isn't.

Simplest will be to edit in a SyncOnText for the page that
is supposed to show up, then eValid will wait for it to show up
before proceeding.

Synchronization based on text in the page (sync is 100% internal):
http://www.e-Valid.com/Products/Documen ... SyncOnText

* Here is an example of how eValid works with the GWT objects:

http://www.e-Valid.com/Products/Documen ... .sink.html

Let us know if these don't work out...
eValid Tech Support Team
Ajax
 
Posts: 29
Joined: Tue Jan 01, 2008 12:48 pm


Return to AJAX Applications & DOM Processing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons