QTP问题
来源:互联网 发布:室内装修画图软件 编辑:程序博客网 时间:2024/05/29 14:10
1. QTP的Debug那个下拉菜单是灰色的 :
QTP安装目录下 tools里第一个:Addtional InstallationRequirements重新load一下;就在装license之前的那步重新装了一下.
2.QTP support forFirefox version 11
InstalltwoQTP patches:QTPWEB_00090,QTPWEB_00092;
Downgrade(oppositeofupgrade)the FF to version 11: uninstall FF version 23, install FF 11and setnotto upgrade.
AllowFF install QTPadd-in.
Firstopen QTP,thenopen your desire url.
2.2 QTP 11 support IE9
QTP 11only supports IE8. You should use IE8 for your testing.
I was happy tolearn today that HP justreleased a patch : QTPWEB_00078.
3. QTP - Menu bar /Menu Items missing.Themenu bar disappears or some menu items disappear.
To enable missing items or display all menu items in thetool bar,follow the following steps:-
3.1. Right click anywhere in the tool bar area.
3.2. Click Customize
3.3. Go to toolbars tab
3.4. Click on Restore all button.
To enable missing items or display all menu items in themenu bar,follow the following steps:-
3.1. Go to Start page of QTP
3.2. Go to Tools-->Options
3.3. In the general section, click on Restore Layout button.
4. ALM/QC Lock
'Must Set up your ALM / QC connection first IE login via the file>ALM/QC Connection
Set QCConnection=QCUtil.QCConnection
Set con=QCConnection.command
con.CommandText="DELETE FROM LOCKS WHERE LK_USER ='user_name'"
Set recset=con.execute
5.碰到的问题:
5.1 ALM/QC-TestLab-跑脚本,会有“unspecified error“的错误:
检查QTP的license;
5.2 ALM/QC-TestLab-跑脚本,会有“You do not have permissions to run tests on this machine...“的错误:
检查脚本和QTP的: In the QTP-Options dialog in QTP, check the box Allowother HP products to run...
5.3 ALM/QC-TestLab-跑脚本,会有“Unable to run the test "的错误:
5.4 ALM/QC-TestLab-跑脚本,会有”Access is denied"的错误:
改变机器的配置,下面的资料都参考并实践了,不知道是哪个帖子解决的。
http://www.cnblogs.com/juddhu/archive/2012/02/16/2354737.html
http://www.addictivetips.com/windows-tips/windows-7-access-denied-permission-ownership/
http://technet.microsoft.com/en-us/library/cc771689.aspx
http://technet.microsoft.com/en-us/library/cc771689.aspx
6.禁掉IE升级弹出框
Step 1. Run services (services.msc)
Step 2. Choose update (windows update)
Step 3. Close update (double click stop button)
Step4. After you closed update, please restart pc.
7. 如果是用seat license, QTP 显示Error, 可以查看license服务器情况(哪些客户端占用了license):
1. Go to the installation folder, and create a file named “ActionTemplate.mst” in “dat” folder.
By Default: “C:\Program Files (x86)\HP\QuickTest Professional\dat”
2. Edit the “ActionTemplate.mst”, write some template comments or code.
3. Re-open the QTP, or create a new QTP action, then it works.
Refer to:http://www.learnqtp.com/action-template-qtp/
如果QTP得到的数据是几千的话, 说明Excel的usedRange是到最后一行. 在Excel里面, 用Ctrl+End来确认最后一行; 原因是Ctlr+down之后.不小心输入再删掉了.
- QTP问题
- QTP录制的问题
- 解决QTP崩溃问题
- QTP问题列表
- 新学QTP 遇到问题
- QTP 的一些问题
- qtp问题汇总
- QTP问题一
- QTP录制不了问题
- QTP录制的问题
- QTP使用问题集锦
- QTP问题记录
- QTP对象识别的问题
- QTP - 15 (Synchronization) 同步问题
- QTP--不能录制的问题
- QTP
- QTP
- qtp
- 深入理解PHP的引用(References in PHP)
- C# 调用WinAPI 登陆&内存操作
- HDU2164:Rock, Paper, or Scissors?
- oracle中varchar_varchar2_nvarchar_nvarchar2的区别
- va_list
- QTP问题
- jboss-4.2.2.GA的发端口的配置文件
- 安装gerrit trigger时遇到的问题
- 淘宝一面(面经)
- java IO操作 (读写、追加、删除、移动、复制等)
- [Linux]三种方案在Windows系统下安装ubuntu双系统
- C++ map的基本操作和使用
- 网络编程2
- SSH框架环境的搭建