sikuli

Change screen resolution in Java

懵懂的女人 提交于 2019-11-28 14:19:10
I have a program that uses visual scripting ( sikuli-script ) to allow the users to create their own visual scripts. The program needs to work across multiple systems that could have different screen resolutions. Sikuli matches highlighted images on a pixel-by-pixel basis, so on systems with different resolutions will fail to find images. Therefore is there a way that I can change the resolution settings in windows through java code? Going full-screen is not an option as images that need to be captured come from different software packages, i.e. my software package sits above where the images

Sikuli Windows 7 64 bit : Getting the VisionProxy.dll: Can not find dependent libraries

只愿长相守 提交于 2019-11-28 11:34:05
问题 I am running a windows 7 64 bit machine. I installed JRE6 of 32 bit version in the PROGRAM x86 path. I have configured my JAVA_PATH environment variable in my windows to point to "C:\Program Files (x86)\Java\jre6" and the PATH variable to hold "C:\Program Files (x86)\Sikuli X\libs\;C:\Program Files (x86)\Java\jre6\bin\". Please dont ask my why, Because that is wat a lot of people suggested over the blog and i Just followed it. I Created a new project in eclipse and added the "sikuli-script

Sikuli UnsatisfiedLinkError when using sikuli-script.jar

∥☆過路亽.° 提交于 2019-11-28 10:04:13
问题 I'm on Windows 7 32bit, Java JRE6 31 installed and using Sikuli X 1.0rc3. I want to launch a test with sikuli-script.jar like this: java -jar c:\sikuli\sikuli-script.jar test.sikuli All I get is this error message: java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError:C:\sikuli\libs\VisionProxy.dll: Can't find dependent libraries I have set all the environment variables needed, so my PATH looks like this: PATH=...;C:\sikuli\libs;C:\Program Files\Java\jre6\bin SIKULI_HOME=C:\sikuli I

Calling to a Sikuli script from Python (Selenium)

六月ゝ 毕业季﹏ 提交于 2019-11-27 20:56:15
While running Selenium tests on a website, I have some Flash elements that I cannot test with Selenium/Python. I wanted to call out for a separate terminal window, run the Sikuli OCR tests, and then back into the Selenium/Python testing. I've not been able to figure this out exactly. I put XXX where I do not know the arguments for a new Terminal to open and run the Sikuli script. def test_05(self): driver = self.driver driver.get(self.base_url + "/") driver.find_element_by_link_text("Home").click() driver.find_element_by_id("open_popup").click() driver.find_element_by_id("screen_name").send

Sikulix下载安装

让人想犯罪 __ 提交于 2019-11-27 10:18:18
安装全纪录: SikuliX官网: http://www.sikulix.com/quickstart/ 建议安装是看清楚,选择release版本:我选择了 version 1.1.3: https://launchpad.net/sikuli/sikulix 链接:https://pan.baidu.com/s/1vX9G5kb0W2EcX8G8U64_KQ 密码:thhf | 百度网盘 我安装的是sikulix1.1.3版本。需要安装JDK和sikulix。可以参照下面的教程下载,也可以直接到 https://pan.baidu.com/s/1atUfscZAfG3cXIuQtEtLOw#list/path=%2F 里下载jdk-8u191-windows-x64.exe和sikulixsetup-1.1.3.jar。提取码是mpwx。 Windows下安装Sikuli操作手册 https://blog.csdn.net/u013484215/article/details/79428788 https://blog.csdn.net/c11073138/article/details/84894167 SikuliX 使用笔记 https://testerhome.com/topics/17225?locale=en https://blog.csdn.net

Change screen resolution in Java

南笙酒味 提交于 2019-11-27 08:21:47
问题 I have a program that uses visual scripting (sikuli-script) to allow the users to create their own visual scripts. The program needs to work across multiple systems that could have different screen resolutions. Sikuli matches highlighted images on a pixel-by-pixel basis, so on systems with different resolutions will fail to find images. Therefore is there a way that I can change the resolution settings in windows through java code? Going full-screen is not an option as images that need to be

Calling to a Sikuli script from Python (Selenium)

天涯浪子 提交于 2019-11-27 04:28:48
问题 While running Selenium tests on a website, I have some Flash elements that I cannot test with Selenium/Python. I wanted to call out for a separate terminal window, run the Sikuli OCR tests, and then back into the Selenium/Python testing. I've not been able to figure this out exactly. I put XXX where I do not know the arguments for a new Terminal to open and run the Sikuli script. def test_05(self): driver = self.driver driver.get(self.base_url + "/") driver.find_element_by_link_text("Home")

How to get sikuli-script.jar for Windows 64 bit machine

笑着哭i 提交于 2019-11-27 03:06:03
问题 I have downloaded sikuli-setup.jar and successfully able to install it. I am able to run sikuli from GUI but I want to run sikuli script from eclipse which require sikuli-script.jar. Please let me know the location or way to download it. 回答1: Instead of sikuli-script.jar you can use sikuli-java.jar as follows: Download last setup from here and put it in in a dedicated folder (e.g d:\sikuli) Run the downloaded jar file sikuli-setup.jar (a. Simply double click on sikuli-setup.jar or b. from

How to get Sikuli working in headless mode

穿精又带淫゛_ 提交于 2019-11-27 00:28:59
If we have a headless test server running sikuli (both ubuntu and windows configurations needed), how to get it work without a physical monitor and preferably for as many screen resolutions as possible. I successfully got sikuli running in headless mode (no physical monitor connected) Ubuntu: check Xvfb. Windows: install display driver on the machine (to be headless) from virtualbox guest additions display drivers and use TightVNC to remotely set resolution from another machine. Detailed steps for windows 7 Assume that: Machine A: to be headless machine, windows 7, with vnc server ready (e.g.

How to get Sikuli working in headless mode

南笙酒味 提交于 2019-11-26 10:28:39
问题 If we have a headless test server running sikuli (both ubuntu and windows configurations needed), how to get it work without a physical monitor and preferably for as many screen resolutions as possible. 回答1: I successfully got sikuli running in headless mode (no physical monitor connected) Ubuntu: check Xvfb. Windows: install display driver on the machine (to be headless) from virtualbox guest additions display drivers and use TightVNC to remotely set resolution from another machine. Detailed