Hi all,
In our test, we need to click a button on the webpage by using mouse link button. A long click (mouse down langer than 2s) and a short click (mouse down shorter then 2s) will invoke different actions.
I am using jscript and tried to use LLPlayer, but the button on the webpage can not be clicked till now.
var coorX = Aliases.home.button1.offsetLeft +17; //try to get the x-position of the click position on button1
var coorY = Aliases.home.button1.offsetTop +16; //try to get the y-position of the click position on button1
var sDelay = 2000;
LLPlayer.MouseDown(MK_LBUTTON, coorX, coorY, 0);
LLPlayer.MouseUp(MK_LBUTTON, coorX, coorY, sDelay);
Does anyone have such experience?
Best Regards,