We occasionally get asked how to send a triple-click from Eggplant. We haven’t offered a specific TripleClick command from Eggplant, and I provide some reasons for that below. If you need to put triple-clicks in your scripts, you might want to put the attached scripts in a Helper suite, so that they can easily be made available to scripts in other suites. If you only need the triple-click for a particular script, you can just put these scripts in the suite that contains that script.
We have not put a TripleClick command in Eggplant partly because different applications and OSes interpret three consecutive clicks in slightly different ways depending on how you implement it (which is primarily a question of timing), so it’s important to at least be somewhat familiar with what the SUT is expecting. We find that Triple Click isn’t used that frequently in most applications, and it isn’t always a recognized system event; some things interpret it as a Double-Click + Click, others as three successive clicks and some truly do expect a very quick triple-click. In short, we can’t really say we’re sending a triple-click because it’s not a precisely defined event.
We hope that these scripts will fill the void for those of you who need to use triple-clicks in your testing process.