RVTools: Automate report

简介:

1, Using RVToolsPasswordEncryption.exe to encrypted password


wKiom1kw2mmCrsCKAAAbTV3KkW8060.png


2. Set the Short date format


wKioL1k3woWg0eHRAAA3LsWAmV0956.png


3. BAT file to run RVtools(RVtools.bat), revise the account and password accordingly(highlight with red color)


rem #########################
rem Name RVToolsBatch
rem By Hunter
rem Date Apr 2017
rem Version 3.9.5
rem #########################
rem =====================================
rem Include robware/rvtools in searchpath
rem =====================================
set path=%path%;c:\program files\robware\rvtools 3.9.5
rem =========================
rem Set environment variables
rem =========================
set $datetime=%date:~6,4%%DATE:~3,2%%DATE:~0,2%
set $VCServer=VC name or IP
set $AttachmentDir=C:\temp
set $AttachmentFile=RVTOOLS_%$datetime%_%$VCServer%.xls
rem ===================
rem Start RVTools batch
rem ===================
RVTools.exe -u ABC_DM\hunter -p _RVToolsPWDSAimNtfac7sBlN8HczNdjvHyqknIETj5oy7/gE3uISc= -s %$VCServer% -c ExportAll2xls -d %$AttachmentDir% -f %$AttachmentFile%
timeout /T 30


3.Create a window schedule task to run the bat file


1)  create a task

wKioL1kxDtWRc2M_AAAfYPWxhq0403.png


2) Add the BAT script to window task, and set the triggers condition.

wKiom1kxD1ewAAnZAAAcP8tqD6c515.png


More reference

http://cloudmaniac.net/rvtools-automate/

http://robware.net/download/RVTools.pdf

本文转自学海无涯博客51CTO博客,原文链接http://blog.51cto.com/549687/1931597如需转载请自行联系原作者


520feng2007

相关文章
|
SQL 缓存 Java
ASH Report 解析
ASH Report 解析
269 0
|
6月前
|
缓存 IDE Linux
Internal error. Please report to https://jb.gg/ide/critical-startup-errors
Internal error. Please report to https://jb.gg/ide/critical-startup-errors
135 0
Error: invalid option: --with-training-tools
Error: invalid option: --with-training-tools
165 0
|
关系型数据库 测试技术 Oracle
[20180102]statistics_level=BASIC.txt
[20180102]statistics_level=BASIC.txt --//一个测试环境不知道谁设置statistics_level=BASIC,导致重启出现错误,自己在测试环境模拟看看: SYS@book> create pfile='/tmp/@.
1252 0
|
关系型数据库 Shell 网络安全
|
测试技术 关系型数据库 Oracle
[20171106]DBMS_UTILITY.GET_TIME().txt
[20171106]DBMS_UTILITY.GET_TIME().txt --//有时候测试某个脚本运行时间,经常在这之前之后调用这个函数.今天奇怪的发现显示竟然是负数,感觉很奇怪做一个探究.
1030 0