Page 1 of 1

Force two clicks to happen on two windows tabs

PostPosted: Thu Oct 22, 2020 11:08 am
by PamelynF
Morning.

Is there a way to force two clicks to happen simultaneously on two different windows/tabs?

Thanks

Re: Force two clicks to happen on two windows tabs

PostPosted: Fri Oct 23, 2020 9:57 am
by eValid
PamelynF wrote:Morning.

Is there a way to force two clicks to happen simultaneously on two different windows/tabs?

Thanks


That is a very good question, and we appreciate your asking it PamelynF.

The term "simultaneously" means at the same time, but in a browser face there is a lot of ambiguity because a browser is running under the Windows operating system.

So, at "identically the same absolute time" is very hard to achieve.

eValid execution on a typical fast PC -- or even on an even faster virtual machine in the cloud -- is very quick.

And, remember that eValid identifies the specific window to which a command is going to be applied explicitly in the command itself.

For example, you could have two commands like this:

ElementClick 0 [frame_path]
ElementClick 1 [frame-path]

meaning the top window/tab and the 1st sub-window or sub=tab.

These two commands will click on the DOM at the current sourceIndex value very quickly after each other.

Typical command execution time is measured in msec.

Further than that, the we recommend you study quantum electrodynamics for further details on what "simultaneous" means.


-- eValid Support