51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2212|回复: 0
打印 上一主题 下一主题

[资料] QTP专家问题解答?

[复制链接]
  • TA的每日心情
    擦汗
    2015-5-25 17:24
  • 签到天数: 3 天

    连续签到: 1 天

    [LV.2]测试排长

    跳转到指定楼层
    1#
    发表于 2009-8-31 13:57:19 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    QucikTest Professional:  Meet the Experts
    Questions and Answers:

    Q1.  Is there any way I can make QTP 9.5 work with FF 3.0
    A1.  No.


    Q2. How can a partner do this - without SAIDs for partners, we can't log into or search KB ?
    A2.  HP mandates that customers must have SAIDs to access KB/create cases.

    Q3.  When I access the knowledgebase for self-help, I often don't get any results if I select QTP. I have to select All Products. Why is this?
    A3.  It could be because something other than natural language was selected, or that you don’t have sufficient access to QTP. Try something easy like “uninstall” (per the KB instructions in the slides) and if that doesn’t return anything, then there is a problem with your account.

    Q4.  Can QTP scripts be executed remotely on VMs schedule via QC?
    A4.  If the KB steps don’t help, then create a case.

    Q5.  Is there any way to set the content of a grid control as success criteria for a test?
    A5.   A checkpoint or reporter.reportevent may be what you’re looking for.

    Q6.  Cannot Include Function Libraries in 9.5 using ExecuteFile
    A6.  You might want to consider adding libraries as a test resource, rather than using execute file.

    Q7. I am having difficulty with Function Libraries. For example, I have a function to loop through a directory and delete all of the files. This function works fine in the test, but when I move the same function to a function library, I get an error "Do not have permissions"
    A7.  The answer is going to depend partially on the files that you are attempting to delete, and the OS itself (Vista/XP). A general answer would be to try using CreateObject("Wscript.shell") to create a new shell object and approach it from that direction – possibly using a batch file to perform the actual deletion.

    Q8.  The KB website data from Mercury Interactive prior to HP's deployment - will this data ever be integrated?
    A8.  It’s already integrated to the extent that it will be, but the format is different.

    Q9. What platform would be considered optimum for QTP?
    A9. XP/Vista with 2GB RAM.

    Q10.  Is there an available list of add-ins for QTP?
    A10.   Search the KB for the QTP 9.5 Readme file.

    Q11.  Will you provide the link to MicDetect from KB?
    A11.  Search on “MicDetect” in the KB

    Q12.  SAAS Performance Center does not integrate with Quality Center unlike LoadRunner which does. Will QC and PC ever integrate in the future?
    A12.  To my knowledge there are no immediate plans for this.

    Q13.  Can a QTP script that was created in version 9.2 be executed in LoadRunner version 8.1?
    A13. Not from within LoadRunner itself, but it should be possible to launch a QTP script from LoadRunner.

    Q14.  QTP9.2 doesn’t have options to identify objects in an unix-based application (written in cobol) ? Any special framework that can be used to automate such applications?
    A14.  There isn’t a solution for this at the moment.

    Q15.  I am running into the issue on QTP 9.2 is that when I am running the script with IE 7, part way through it run, I will receive a memory error that causes the crash of IE. This problem does not arise during the record. What type of setting do I or should I be looking?
    A15.  It’s difficult to answer this question; you should create a case for this.

    Q16. What versions of FireFox are supported with QTP 9.5 add-in?
    A16.  It’s listed in the readme file (Mozilla Firefox 1.5, 2.0.x, 3.0 Alpha 7)

    Q17.  What is the cause of this error we are unable to run Quality Center! wiagentie.dll
    A17.  I would recommend searching the KB on the Quality Center product, and if that is unhelpful then to create a case.

    Q18.  We performed QTP migration from 9.2 to 9.5. We are getting “This operation can’t be performed. For further help please contact support” popup while scripts execution is happening on QTP 9.5. But we can do the execution by clicking on the ‘OK’ button without any showstopper. Can you let know why this is happening?
    A18.  This is possibly due to 9.2 DLLs still on the machine. A clean uninstall/reinstall of QTP may address this for you.

    Q19.  Is 9.5 considered a "major" version update?
    A19.  I don’t believe so – though there are significant enhancements, and fixes, to the product.

    Q20.  Does this mean that the "Typical" 9.5 install is not supported but only the "custom" install (addins)?!?
    A20.  “Typical” is supported, but installing 9.2 or earlier based add-ins is not.

    Q21. What are the correct values for the Java environment variables?
    A21.  It depends on the version of java – search the users guide on the environment variable names themselves.

    Q22.  When I search on kb49719 the MicDetect version attached is only version 3.1.0, not 3.2.0. Where do we get the latest?
    A22.  It will be up there soon.

    Q23.  If an add-in is included in QTP 9.5 install, can it be uninstalled/reinstalled separately later on?
    A23. Yes.

    Q24.  Script execution is sometimes is very slower in 9.2 vs 9.5... Is there a patch available in 9.2 to resolve this?
    A24. This isn’t a known issue with QTP 9.5, and might be specific to the scripts themselves. It’s hard to know without more information.

    Q25.  Periodically QTP will not allow me to import excel files into the data table. I have to manually copy and paste each sheet (not use Tab ‘Move or Copy’) into a new excel file and then import into the data table. How do I make QTP to always allow me to import an excel file?
    A25. The quick fix might be to save the .xls file as the Windows 95/Excel 5.0 format.

    Q26.  Will object repositories also get converted to when we convert scripts from QTP 9.2 to QTP 9.5?
    A26.  The object repository should be the same, and should, under usual circumstances, need to be resaved.

    Q27.  We have QTP support from HP do we still need to purchase java add-ins?
    A27.   Not as long as maintenance is current.

    Q28.  Still using WR 8.2, considering going to QTP, is there a suggested upgrade path?
    A28.  Depending on your situation you may want to contact sales. In short, many customers have been successful with this, but the actual path is specific to you.

    Q29.  Is it possible to (using with VB objects) have 10 instances of QTP (on 10 PCs) simultaneously write to one single Excel spreadsheet? When I try this, Excel keeps pinging my QTP instances to save the document.
    A29.  It is technically possible, but not using QTP alone (you would need to create some type of management application for this). I would recommend integrating with a database instead.

    Q30.  Are there performance advantages to using Descriptive Programming vs. Object Repository vs. SetTOProperty for dynamic objects?
    A30.  In some cases (say with web) using the Object Repository can be faster overall. There are a few variables in play here, but in the average case I don’t think you’ll see a huge difference.

    Q31.  it's also the screen resolution which can cause the prb to QTP????
    A31. This shouldn’t be a problem – see the readme for more details on minimum requirements.

    Q32.  I'm working with QTP 9.2 using descriptive programming, and something is hard to identy WinDialogs if you are not seeing the BP execution, someone have had this problem before?
    A32.  You may need to use both class, and index to identify these types of windows. If you are still having trouble, it’s usually a matter of finding the correct properties (which can take a little bit of time). Taking an inventory of property/values at different times may help.

    Q33.  My company has a contract with HP for QTP. How can we make sure that we are receiving updates? We currently are running 9.2 and would like to upgrade to 9.5.
    A33.  I believe you can create a product request on the support website, or try going to Download, then Download Center to get the eval version (which is exactly the same).

    Q34.  What could be some probable causes of QTP (9.2) failing to open a script that resides on QC (9.2). It works randomly. QC talks fine to QTP, it's when QTP tries to pull down the script that it fails?
    A34.  Maybe cleaning out the temp folder will help.



    [ 本帖最后由 houzeal 于 2009-8-31 14:07 编辑 ]
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-13 18:14 , Processed in 0.065646 second(s), 29 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表