Page 1 of 1

Can eValid do the following tasks

PostPosted: Fri Jul 22, 2016 12:11 pm
by LibErwin
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

Re: Can eValid do the following tasks

PostPosted: Mon Jul 25, 2016 10:59 am
by eValid
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