Can eValid do the following tasks

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

Can eValid do the following tasks

Postby LibErwin » Fri Jul 22, 2016 12:11 pm

Afternoon.

I'm not sure where this post belongs (feels like AJAX/Monitoring, but here goes:

Can eValid be set up to do a gating function at playback time.

I want to wait until a particular element that is visible becomes invisible, then wait until a new value for it arrives?

Thanks.

Libby
LibErwin
 
Posts: 1
Joined: Fri Jul 22, 2016 12:05 pm

Re: Can eValid do the following tasks

Postby eValid » Mon Jul 25, 2016 10:59 am

LibErwin wrote:Afternoon.

I'm not sure where this post belongs (feels like AJAX/Monitoring, but here goes:

Can eValid be set up to do a gating function at playback time.

I want to wait until a particular element that is visible becomes invisible, then wait until a new value for it arrives?

Thanks.

Libby


Thanks for posting Libby.

The answer to this kind of synchronization question is to be aware of ALL of the synchronization modes available, described here:

http://www.e-valid.com/Products/Documen ... mmary.html

In your case you'll need to know the DOM index of the element that you are starting with.

Then, you synchronize on the value going away from the default using (for example) SyncNotOnElementProperty.

That will hold up playback until the "original" value disappears.

Then, you do the second synchronization with a "SyncOnElementProperty" using the same sourceIndex value but including the value that is expected to be there.

If this application has a lot of things happening at once we would recommend to set the synchronization retry interval to 1000 msec (1 second).

Here is the manual page for that:

http://www.e-valid.com/Products/Documen ... ation.html

That way you will resolve the interval to the nearest whole second, and you won't tie up the playback with excessive interference from the synchronization logic.


-- eValid Support
eValid
 
Posts: 1729
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to AJAX Applications & DOM Processing

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