banner cpptest
首页 > C++test > C++test中如何通过命令行方式获取Machine-ID和设置License?

C++test中如何通过命令行方式获取Machine-ID和设置License?

2010年9月16日 浏览: 

本文原载于软件测试人专业测试博客,任何转载均需注明原址:http://www.mytestlife.com/post/set_license.html

前文《C++test中如何通过命令行的方式获取Technical Support文件?》有介绍如何通过命令行模式获取Technical Support文件,本篇将介绍C++test中如何通过命令行方式获取Machine-ID和设置License?

C++test如何通过命令行获取Machine-ID

1. 设置环境变量,如C++test安装路径为:C:\Parasoft\C++test7.3,则按图中方式执行:

 C++test设置环境变量

2. 环境变量设置后,则可以在命令行中直接执行:cpptestcli,执行如下命令:

 C++test执行命令行

3. 执行完成后,在命令行输出中包含Machine-ID,如图:

 C++test获取Machine-ID

C++test如何通过命令行设置License

在使用cpptest命令行方式执行测试时, 通过cpptest命令行配置license, 例如cpptest命令行为:

 cpptestcli -localsettings myCompiler.properties -resource "main" -config "builtin://Parasoft's Recommended Rules".

myCompiler.properties即为存放license的配置位置. myCompiler.properties内容须按照如下格式:

cpptest.license.local.expiration=${expiration}

cpptest.license.local.password=${password}

原文链接:http://www.mytestlife.com/post/set_license.html

withdreamer C++test 命令行  

  1. 2010-10-26 17:18:38 | #1

    myCompiler.properties在哪里!!!!!!!!!!!!!!!!!!

    withdreamer 于 2010-10-28 18:33:20 回复
    请问这个你是想设置什么?我没有看到myCompiler.properties的文件,请详述问题...

  2. 2010-10-26 17:21:16 | #2

    能不能给我一个custom许可证??????????????????

  3. 2010-10-28 18:35:02 | #3

    如果你想试用C++test license,可以与Parasoft公司联系,当然你也可以加软件测试交流群:74287645 ,找管理员看看能否拿到使用C++test license...

  4. 2011-9-22 14:25:43 | #4

    我下了个 c++test9.0 但是没有license,请问你能提供给我一个么,或者告诉我 该怎么获取

  5. nie的Gravatar头像
    nie
    2012-5-1 22:34:23 | #5

    请问能给我个C++Test的下载地址吗?要破解的!还有就是为什么我用的c++Test点击read symbols时会提示collecting library information failed?能帮忙解决一下吗?谢谢了!