QTP的那些事--The QTP computer is locked locked or logged off

简介:

原始地址:http://www.sqaforums.com/showflat.php?Number=457010

If the screen is unlocked (i.e. I can see the Windows Desktop) then everything runs fine.
If the screen is locked (it has timed out and gone into the screensaver) then all of my tests fail and I see the following message in QTP:
"The Quick Test Professional computer is locked or logged off".
Does anybody have a fix for this? My group would like to have the ability to kickoff scripts on this box remotely and at night, but it is constantly locking us out.

 

 

解决方案:

QTP will not executed on a locked system. From the FAQs at the top of the first page on this forum, a FAQ specifically addresses your question:
30 Problems with Running QTP on a "locked" system/keyboard
30.A http://www.sqaforums.com/showflat.php?Cat=0&Number=420045
The bottom line is that you can't let a QTP execution PC go into system locked mode. In the above thread there is a reference to a lengthy KB Mercury article (God only knows if this is still available on the current HP support site's KB), that blames Microsoft for the problem. Maybe they are right, maybe not.
There are various suggestions for software that will inhibit a PC from entering system locking, but in many corporations this will violate IT security policies, so use these with care and approval (if you are one who "asks for permission", rather than one who "begs for forgiveness" when caught).
And in the future, please: FIRST check the FAQs, then SEARCH second and lastly post what you think is new question, before posting again.


本文转自hcy's workbench博客园博客,原文链接:http://www.cnblogs.com/alterhu/archive/2012/02/14/2351374.html,如需转载请自行联系原作者。

目录
相关文章
|
10月前
|
Rust 小程序
小程序警告:Now you can provide attr wxkey for a wxfor to improve performance
首先,无论什么程序,控制台中的警告都是会影响程序性能的。我们需要减少此类警告的出现,以提高程序的运行性能。 小程序开发的时候,遇到了如下的警告:
117 0
Autodesk软件 You need to apply when licence screen appears 错误解决方案
Autodesk软件 You need to apply when licence screen appears 错误解决方案
|
测试技术
loadrunner 运行脚本-Run-time Settings->General->Additional attributes设置
loadrunner 运行脚本-Run-time Settings->General->Additional attributes设置
97 0
notepad快捷键大全
Notepad++ 快捷键 大全Ctrl+C 复制Ctrl+X 剪切Ctrl+V 粘贴Ctrl+Z 撤消Ctrl+Y 恢复Ctrl+A 全选Ctrl+F 键查找对话框启动Ctrl+H 查找/替换对话框Ctrl+D 复制并粘贴当行Ctrl+L 删除当前行Ctrl+T 当行向上移动一行F3 查找下一个S...
2558 0
|
测试技术
Note tool
Sent: Monday, March 23, 2015 2:56 PM https://dewdfgwd:2030/sap/bc/ui5_ui5/sap/znotetool/index.html?sap-client=001&sap-ui-language=EN&sap-ui-appcache=false 把Opportunity,(或者lead,Appointment,task)ID输入,点submit,就能看到下面挂着的note全部的technical information了 后台只能连AG3哈,这个是拿来做单元测试的。 GM6/001 tcode SE80:
Note tool
|
前端开发
Notepad2替代系统自带的记事本Notepad
Notepad2替代系统自带的记事本Notepad 原博文链接:https://www.cnblogs.com/best/p/5819858.html   事情是这样的,平时我经常把一些文字复制到记事本中编辑好了再复制到目标位置,可以在系统自带的记事本中替换删除一些内容,记事本小巧,占用很少的资源,我很喜欢; 但今天复制的内容中有很多数字和一些我不想要的内容,我想到了正则,发现系统自带的记事本没有,找来一个更强的工具,Word,继续查找替换,发现word中也没有正则,估计是微软认为除了程序员会正则,一般人不会用。
1530 0