分类目录归档:测试

[转]windows 7 64位系统安装LoadRunner 9.52补丁包错误解决

转自:http://www.cnblogs.com/WebClerk/archive/2011/04/16/2017751.html

问题描述

在Windows 7 64位系统上安装LoadRunner 9.52补丁包过程中,遇到以下错误

—————————
HP LoadRunner 9.52
—————————
Upgrade patch cannot be installed because the program to be upgraded
may be missing, or the patch may update different version of the program.
Verify That “HP LoadRunner Software 9.51” exists on your machine.
—————————

问题分析 继续阅读[转]windows 7 64位系统安装LoadRunner 9.52补丁包错误解决

[转]Loadrunner的字符串处理函数

转自:http://blog.csdn.net/gzh0222/article/details/6948090
1)strcat

  char *strcat ( char *to, const char *from );
功能:链接两个字符串。

例子:
这个例子是用strcat链接字符串:Cheers_Lee和 @hotmail.com

  脚本如下:
char test[1024], *a = “@hotmail.com”;
strcpy(test, “Cheers_Lee”);
strcat(test, a);
lr_output_message(“We can see %s”,test);

运行后在executon log中看到如下语句:
Starting action Action.
Action.c(16): We can see Cheers_Lee@hotmail.com 继续阅读[转]Loadrunner的字符串处理函数