博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
QTP的那些事--The QTP computer is locked locked or logged off
阅读量:7218 次
发布时间:2019-06-29

本文共 1530 字,大约阅读时间需要 5 分钟。

原始地址:

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 
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,如需转载请自行联系原作者。

你可能感兴趣的文章
MySQL 用户连接与用户线程
查看>>
RabbitMq、ActiveMq、Kafka和Redis做Mq对比
查看>>
C# 图片处理(压缩、剪裁,转换,优化)
查看>>
Linux bridge-utils tunctl 使用
查看>>
Leetcode Pascal's Triangle II
查看>>
运行shell脚本报错 '\357\273\277': command not found 解决的方法
查看>>
android studio 0.8.1使用和遇到问题解决
查看>>
云服务器ECS选购集锦之六区域选择帮助
查看>>
云虚机选购指南之二云虚拟主机试用帮助文档
查看>>
女友眼中的IT男
查看>>
Excel连接
查看>>
java基础-多线程学习
查看>>
WPF打印原理,自定义打印
查看>>
HTML5 5
查看>>
箭头css
查看>>
Python入门,以及简单爬取网页文本内容
查看>>
顺丰科技笔试回忆
查看>>
excel技巧
查看>>
通用防SQL注入漏洞程序(Global.asax方式)
查看>>
服务器进程为何通常fork()两次
查看>>