Page 1 of 1

Trying to pin down a constantly changing filename

PostPosted: Thu Apr 16, 2020 11:20 am
by BeverlyL
Greetings.

I hope you can help me out:

How do you handle the case when the name of a file keeps changing, but I still want to click on it?

Thanks

Re: Trying to pin down a constantly changing filename

PostPosted: Fri Apr 17, 2020 10:17 am
by eValid
BeverlyL wrote:Greetings.

I hope you can help me out:

How do you handle the case when the name of a file keeps changing, but I still want to click on it?

Thanks


Thanks for posting your question BeverlyL.

This is fairly common, having the contents of SOME of the DOM updated.

However, the underlying function -- typically, a JavaScript that is triggered when you click on that element -- stays the same.

The command you probably want to use is IndexElementEvent, which will send an event to a particular event name (and value) provided you know the specific sourceIndex.

http://e-valid.com/Products/Documentati ... event.html

You reset the value of the internal variable sourceIndex using the search commands, such as:

http://e-valid.com/Products/Documentati ... ement.html

or use the companion command:

http://e-valid.com/Products/Documentati ... nt.ex.html

Good luck and let us know if you run into difficulties!


-- eValid Support