jxu
April 26, 2019, 3:46pm
1
I’m trying to do a double click command on a field, but it clicks 2-3 rows lower than what is targeted. I’m targeting the right thing, but when it flashes green (calibrating) the wrong box is clicked. Is there a solution to this or a way to calibrate it?. My command looks like this:
XClick id=00NV7300000_chkbox #doubleclick
admin
April 26, 2019, 6:13pm
2
Is this on Mac, Linux or Windows? And is it a HiDPI screen?
Does the “DemoXClick” macro work ok?
jxu
April 30, 2019, 1:18pm
3
Hey thanks for the reply. It’s on Windows, non HiDPI screen. And yes, the DemoXClick macro works
Edit: I’m using Chrome btw.
admin
May 1, 2019, 1:28pm
4
Hi, can you add a screencast of the issue? Or send it directly to us?
jxu
May 1, 2019, 5:49pm
5
Yeah, here’s a quick screen record of what’s happening:
https://gph.is/g/ZlL1JGZ
jpmin
August 29, 2019, 12:48pm
6
Is there still no solution for that problem?
admin
August 30, 2019, 9:10pm
7
@jpmin We have not been able to recreate this issue. Do you see it, too? If so, can you add a screencast on how it looks for you?
Important: During the “Green Window Calibration” the browser window must be fully visible (not covered by another window, or be partly off screen).
trexem
January 6, 2021, 4:04pm
8
similar issue here, still no solution?
WebPage:
https://cfdiau.sat.gob.mx/nidp/wsfed/ep?id=SATUPCFDiCon&sid=0&option=credential&sid=0
I tried with another computer and works fine, I don’t see why this doesn’t
Code:
`XDesktopAutomation | false`
`XClick | xpath=//*[@id="divCaptcha"]/img | #right`
`XDesktopAutomation | true`
admin
January 7, 2021, 2:39pm
9
Hi, are you using the latest XModule version 2020-9b (the “b” is important!)?
This should fix it. If not, please open a new forum post and we will investigate it.
trexem
January 7, 2021, 4:40pm
10
I did a fresh installation and the error persists
admin
January 7, 2021, 4:52pm
11
@trexem Ok. Can you please record a screen video of the situation and post it here?
trexem
January 7, 2021, 4:53pm
12
I did, i added it to the previous response
trexem
January 7, 2021, 5:16pm
13
Did a workaround with executeScript | "code below" | coords
function getElementByXpath(path) {
return document.evaluate(path, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
}
a = getElementByXpath(“/html/body/main/div/div/div[1]/form/div[4]/label[2]/img”);
b = a.getBoundingClientRect();
x = b.x + b.width/2;
y = b.y + b.height/2 + 70; "70 is the height in pixels of the navigate bar of chrome
return x.toString() + “,” + y.toString();
and XClick | ${coords}
Is you view scaled? If so, you have to use the physical X,Y not the scaled X,Y.
admin
January 7, 2021, 7:36pm
16
Yes, that is strange. I confirmed the problem here on one machine as well, while on another it works fine. => We are investigating this further.
70 is the height in pixels of the navigate bar of chrome
Confirmed. If it happens, the Y-shift is the height of the menu/nav bar of the browser. X is not affected.
1 Like
admin
January 19, 2021, 8:29pm
17
Just to have all info in one place, here are other forum posts about the same issue:
admin
February 1, 2021, 4:58pm
18
Good news: This issue is fixed with V6.0.5.
Note that the “green calibration screen” no longer appears with this update. We changed the calibration to a different and faster method.