Re: [Sikuli-driver] [Question #660518]: Sikuli-Selenium script failing while changing system resolution

2017-11-15 Thread TestMechanic
Question #660518 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/660518

TestMechanic proposed the following answer:
Solution: Use different elements for different resolutions

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #660518]: Sikuli-Selenium script failing while changing system resolution

2017-11-09 Thread RaiMan
Question #660518 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/660518

Status: Open => Answered

RaiMan proposed the following answer:
If this mess of a log contains any valuable information on the problem
you are complaining, then please concentrate the output on that.

Different resolution does not matter, as long as the pixel contents of
the shot are the same as the image currently being on the screen.

But if together with the different resolution, the rendering of images
leads to different pixel contents or even changed pixel width or size,
then you need a different image set for this environment.

BTW: This is a well known restriction with SikuliX.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #660518]: Sikuli-Selenium script failing while changing system resolution

2017-11-09 Thread Yogesh Baviskar
New question #660518 on Sikuli:
https://answers.launchpad.net/sikuli/+question/660518

Hello Team,

I have integrate sikuli with selenium and trying to run script at default 
resolutuion and its working fine.
But if same script run on same machine with different screen resolution then 
sikuli tool unable to click Geometric element.
 Please provide solution.

getting below error:

<2017-11-09 17:07:56,513> INFO  
selenium.com.ptc.windchill.enterprise.common.PageSolvent [main] () - Wait for 
page content to be ready. Ensures all ajax calls are complete before test 
continues. 
<2017-11-09 17:07:58,014> DEBUG 
org.apache.http.client.protocol.RequestAddCookies [Forwarding executeScript on 
session 5a99de29921f845490d40d209e022edd to remote] () - CookieSpec selected: 
best-match
<2017-11-09 17:07:58,014> DEBUG 
org.apache.http.client.protocol.RequestAuthCache [Forwarding executeScript on 
session 5a99de29921f845490d40d209e022edd to remote] () - Auth cache not set in 
the context
<2017-11-09 17:07:58,014> DEBUG 
org.apache.http.impl.conn.PoolingHttpClientConnectionManager [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
Connection request: [route: {}->http://localhost:14950][total kept alive: 0; 
route allocated: 0 of 2000; total allocated: 0 of 2000]
<2017-11-09 17:07:58,015> DEBUG 
org.apache.http.impl.conn.PoolingHttpClientConnectionManager [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
Connection leased: [id: 333][route: {}->http://localhost:14950][total kept 
alive: 0; route allocated: 1 of 2000; total allocated: 1 of 2000]
<2017-11-09 17:07:58,015> DEBUG org.apache.http.impl.execchain.MainClientExec 
[Forwarding executeScript on session 5a99de29921f845490d40d209e022edd to 
remote] () - Opening connection {}->http://localhost:14950
<2017-11-09 17:07:58,016> DEBUG 
org.apache.http.impl.conn.HttpClientConnectionOperator [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
Connecting to localhost/127.0.0.1:14950
<2017-11-09 17:07:58,021> DEBUG 
org.apache.http.impl.conn.HttpClientConnectionOperator [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
Connection established 127.0.0.1:64853<->127.0.0.1:14950
<2017-11-09 17:07:58,022> DEBUG org.apache.http.impl.execchain.MainClientExec 
[Forwarding executeScript on session 5a99de29921f845490d40d209e022edd to 
remote] () - Executing request POST 
/session/5a99de29921f845490d40d209e022edd/execute HTTP/1.1
<2017-11-09 17:07:58,022> DEBUG org.apache.http.impl.execchain.MainClientExec 
[Forwarding executeScript on session 5a99de29921f845490d40d209e022edd to 
remote] () - Target auth state: UNCHALLENGED
<2017-11-09 17:07:58,022> DEBUG org.apache.http.impl.execchain.MainClientExec 
[Forwarding executeScript on session 5a99de29921f845490d40d209e022edd to 
remote] () - Proxy auth state: UNCHALLENGED
<2017-11-09 17:07:58,022> DEBUG org.apache.http.headers [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
http-outgoing-333 >> POST /session/5a99de29921f845490d40d209e022edd/execute 
HTTP/1.1
<2017-11-09 17:07:58,022> DEBUG org.apache.http.headers [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
http-outgoing-333 >> Content-Type: application/json; charset=utf-8
<2017-11-09 17:07:58,022> DEBUG org.apache.http.headers [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
http-outgoing-333 >> Content-Length: 61
<2017-11-09 17:07:58,022> DEBUG org.apache.http.headers [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
http-outgoing-333 >> Host: localhost:14950
<2017-11-09 17:07:58,022> DEBUG org.apache.http.headers [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
http-outgoing-333 >> Connection: Keep-Alive
<2017-11-09 17:07:58,022> DEBUG org.apache.http.headers [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
http-outgoing-333 >> User-Agent: Apache-HttpClient/4.3.5 (java 1.5)
<2017-11-09 17:07:58,022> DEBUG org.apache.http.headers [Forwarding 
executeScript on session 5a99de29921f845490d40d209e022edd to remote] () - 
http-outgoing-333 >> Accept-Encoding: gzip,deflate
<2017-11-09 17:07:58,022> DEBUG org.apache.http.wire [Forwarding executeScript 
on session 5a99de29921f845490d40d209e022edd to remote] () - http-outgoing-333 
>> "POST /session/5a99de29921f845490d40d209e022edd/execute HTTP/1.1[\r][\n]"
<2017-11-09 17:07:58,022> DEBUG org.apache.http.wire [Forwarding executeScript 
on session 5a99de29921f845490d40d209e022edd to remote] () - http-outgoing-333 
>> "Content-Type: application/json; charset=utf-8[\r][\n]"
<2017-11-09 17:07:58,022> DEBUG org.apache.http.wire [Forwarding executeScript 
on session 5a99de29921f845490d40d209e022edd to remote] () - http-outgoing-333 
>> "Content-Length: 61[\r][\n]"
<2017-11-09