将Sikuli脚本与Jenkins集成

时间:2017-03-17 08:57:19

标签: java selenium batch-file jenkins sikuli

我使用selenium webdriver和sikuli在eclipse中创建了一个自动化项目。我创建了一个testng.xml文件来运行它。当我使用Eclipse运行脚本时,它运行正常。当我创建一个bat文件时,它运行正常。但是当我将它与Jenkins集成并通过它运行bat文件时显示以下错误:

[error] Location: outside any screen (16699376, 0) - subsequent actions might not work as expected
[error] Location: outside any screen (16699600, 0) - subsequent actions might not work as expected
[error] Location: outside any screen (16699600, 0) - subsequent actions might not work as expected
[error] Location: outside any screen (16699312, 0) - subsequent actions might not work as expected
[error] RobotDesktop: checkMousePosition: should be L(16699600,0)
but after move is L(16699312,0)

脚本运行时未触摸鼠标的可能原因:

Mouse actions are blocked generally or by the frontmost application.
You might try to run the SikuliX stuff as admin.

请帮我详细说明。

0 个答案:

没有答案