2017-02-26 85 views
0
工作

我想设置詹金斯为执行的一些在线应用连续测试。 我已经在Ubuntu 16.04安装詹金斯和具有运行Windoze 10 我已经从安装鸟哥,我试图让VncRecorder记录测试会话的奴隶。 此刻,我的工作只是做一些随机的东西。控制台输出如下:获取VncRecorder对詹金斯

Started by user anonymous

Building remotely on Nove1 (UITest) in workspace

C:\Users\Jenkins\workspace\TestTester

[WS-CLEANUP] Deleting project workspace...

[WS-CLEANUP] Done

Starting xvnc

[TestTester] $ "C:\Program Files\uvnc bvba\UltraVNC\winvnc.exe" -connect host:76 Recording from vnc server: 172.24.27.210:0

Using vnc passwd file: /var/lib/jenkins/secrets/vncpassword

job/TestTester/14/Recording from server: 172.24.27.210:0, to: /var/lib/jenkins/jobs/TestTester/builds/14/archive/TestTester_14.swf

[TestTester] $ cmd /c call

C:\Users\Jenkins\AppData\Local\Temp\hudson6483326613410629302.bat

C:\Users\Jenkins\workspace\TestTester>echo "Start" "Start"

C:\Users\Jenkins\workspace\TestTester>exit 0

ERROR: File /var/lib/jenkins/jobs/TestTester/builds/14/archive/TestTester_14.swf doesn't exist.

Feature "Record VNC session" failed!

Terminating xvnc.

Finished: FAILURE

我已经花了近2天的谷歌搜索,发现什么都没有,所以唉你们好乡亲帮忙吗?

谢谢!

保罗

回答

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. 
+0

谢谢你的建议! 不幸的是,我的确需要一个视频,但是,这很可能是一个临时的解决方案工作,直到我能得到VNCRecorder工作:-) – Paul

+0

查找命令行控制的录像机通过互联网或采取开源的视频记录,并添加命令线触发它 – SACn