我正在尝试将Jenkins设置为对某些在线应用程序进行连续测试。 我在Ubuntu 16.04上安装了Jenkins并且有一个运行Windoze 10的slave。 我在slave上安装了UltraVnc,并试图让VncRecorder记录测试会话。 目前,我的工作只是做一些随机的事情。控制台输出如下:
由匿名用户
启动在工作区中远程构建Nove1(UITest)
C:\用户\詹金斯\工作空间\ TestTester
[WS-CLEANUP]删除项目工作区......
[WS-CLEANUP]完成
启动xvnc
[TestTester] $" C:\ Program Files \ uvnc bvba \ UltraVNC \ winvnc.exe" -connect host:76从vnc服务器录制:172.24.27.210:0
使用vnc passwd文件:/ var / lib / jenkins / secrets / vncpassword
job / TestTester / 14 /从服务器录制:172.24.27.210:0,发送至:/var/lib/jenkins/jobs/TestTester/builds/14/archive/TestTester_14.swf
[TestTester] $ cmd / c call
C:\用户\詹金斯\应用程序数据\本地\ TEMP \ hudson6483326613410629302.bat
C:\ Users \ Jenkins \ workspace \ TestTester> echo" Start" "开始"
C:\ Users \ Jenkins \ workspace \ TestTester>退出0
错误:文件 /var/lib/jenkins/jobs/TestTester/builds/14/archive/TestTester_14.swf不存在。
功能"录制VNC会话"失败!
终止xvnc。
完成:失败
过去两天我在Google上搜索并没有找到任何内容,所以你们中的一个好人可以帮忙吗?
谢谢!
保
答案 0 :(得分:0)
问题步骤记录器是一款很酷的Windows工具,可以将您的操作记录为一系列图像。您可以使用内置于windows中的此工具:)
psr.exe [/start |/stop][/output <fullfilepath>] [/sc (0|1)] [/maxsc <value>]
[/sketch (0|1)] [/slides (0|1)] [/gui (o|1)]
[/arcetl (0|1)] [/arcxml (0|1)] [/arcmht (0|1)]
[/stopevent <eventname>] [/maxlogsize <value>] [/recordpid <pid>]
/start :Start Recording. (Outputpath flag SHOULD be specified)
/stop :Stop Recording.
/sc :Capture screenshots for recorded steps.
/maxsc :Maximum number of recent screen captures.
/maxlogsize :Maximum log file size (in MB) before wrapping occurs.
/gui :Display control GUI.
/arcetl :Include raw ETW file in archive output.
/arcxml :Include MHT file in archive output.
/recordpid :Record all actions associated with given PID.
/sketch :Sketch UI if no screenshot was saved.
/slides :Create slide show HTML pages.
/output :Store output of record session in given path.
/stopevent :Event to signal after output files are generated.
PSR Usage Examples:
psr.exe
psr.exe /start /output fullfilepath.zip /sc1 /gui 0 /record <PID>
/stopevent <eventname> /arcetl 1
psr.exe /start /output fullfilepath.xml /gui 0 /recordpid <PID>
/stopevent <eventname>
psr.exe /start /output fullfilepath.xml /gui 0 /sc 1 /maxsc <number>
/maxlogsize <value> /stopevent <eventname>
psr.exe /stop
Notes:
1. Output path should include a directory path (e.g. '.\file.xml').
2. Output file can either be a ZIP file or XML file
3. Can't specify /arcxml /arcetl /arcmht /sc etc. if output is not a ZIP file.
答案 1 :(得分:0)
您的VNC服务器0的端口号看起来可疑。 您的从站的防火墙设置如何-vnc端口是否被阻止? 您可以使用vncviewer 172.24.27.210:验证vncserver的端口。 问候, Dimitri(vncrecorder插件开发人员)