Results 1 to 15 of 15

Thread: QTP and .net 3.0 applications.

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Answers
    9

    QTP and .net 3.0 applications.

    Hi everybody, its my first post, so excuse any mistakes on my post. I've tried to record a .net 3.0 application with QTP 9.1 (+ .net 9.1 addin) and with QTP 9.2 (= .net 9.2 addin). In both cases the recording was not right. Does QTP support .net 3.0? Any suggestions?
    Thanks in advance!


  2. #2

    Re: QTP and .net 3.0 applications.

    Kindly check the record mode this will happen only when u record in low level

    and plz make sure...application is opened after QTP is opened...Please let me know


  3. #3

    Re: QTP and .net 3.0 applications.

    HP Mercury QuickTest Professional uses the QtPro.exe.config to specify the .NET Runtime version that should be used for automated testing. If QTP isn't configured to use the correct version of the .NET Runtime, you will encounter problems during the recording or replaying of scripts.


  4. #4

    Re: QTP and .net 3.0 applications.

    check this...
    Locating the QtPro.exe.config file
    The QtPro.exe.config file in located in the "bin" subdirectory where QTP is installed. For QTP versions 8.2, 9.0, 9.1, and 9.2, the default location of this file is the following path:
    C:\Program Files\Mercury Interactive\QuickTest Professional\bin\QtPro.exe.config


  5. #5

    Re: QTP and .net 3.0 applications.

    Updating the QtPro.exe.config file
    Open the QtPro.exe.config file using a text editor of your choice, using the information in Locating the QtPro.exe.config file section above.

    In this file, you must ensure that the correct version of the .NET Runtime is in use. Only one version can be selected at a time. If your program is a .NET 2.0 application, you must use the version "v2.0.50727" of the .NET Runtime; the version of NetAdvantage for .NET used in the application must be a "CLR 2.0" version. If your program is a .NET 1.1 application, you must use the version "v1.1.4322" of the .NET Runtime; the version of NetAdvantage for .NET used must be a "CLR 1.x" version, or must be "2005 Volume 2" or earlier.

    Below is an example of the contents of a QtPro.exe.config file set to target version 2.0 of the .NET Runtime. It also includes information for version 1.1 of the .NET Runtime, but this information is commented out and thus not used.


  6. #6

    Re: QTP and .net 3.0 applications.

    In XML:










  7. #7

    Re: QTP and .net 3.0 applications.

    this is the configuration of xml

    Attached Images Attached Images QTP and .net 3.0 applications.-xml-jpg 
    Last edited by animesh.chatterjee; 01-18-2008 at 06:59 AM.

  8. #8

    Re: QTP and .net 3.0 applications.

    NOTE: HP Mercury QuickTest Professional currently does not support applications that use version 3.0 of the .NET Runtime. If you create a Windows Forms application when using version 3.0 of the .NET Runtime, such as with Visual Studio 2008, the application will use version 2.0 of the .NET Runtime. QTP 9.2 does have a WPF add in, though this is currently not supported for use with TestAdvantage.


  9. #9

    Re: QTP and .net 3.0 applications.

    Ensure the selected version of the .NET Runtime is installed
    If you attempt to run QTP, but the version of the .NET Runtime in the QtPro.exe.config file hasn't been installed on the testing computer, then QTP will not open. Additionally, you must have the correct version of the .NET Runtime installed on the testing computer to run the application-under-test.


  10. #10

    Re: QTP and .net 3.0 applications.

    You can verify which versions of the .NET Runtime installed on a computer by looking at the names of the subfolders under the following folder:
    C:\WINDOWS\Microsoft.NET\Framework

    There will be one subfolder under this directory for every version of the .NET Runtime installed on the computer.


  11. #11
    Junior Member
    Join Date
    Jan 2008
    Answers
    9

    Re: QTP and .net 3.0 applications.

    The recording mode is in default level. The pc i'm working on has frameworks 1,2,3 installed.I checked the QtPro.exe.config file, its the same as the xml you attached.
    As i see the point is that the current version of QTP (9.2) does not support .net 3.0, is that correct?
    What if i configure the QtPro.exe.config file by changing the version of .net to 3.xxxxx?
    It will look like below





    version="v3.x.xxxx"/>



    A last question. I saw that a new version of QTP is ready, the 9.5 that supports .net 3.5. Is there a way to get a demo of that version?
    Thanks for the help!


  12. #12

    Re: QTP and .net 3.0 applications.

    Here are a few questions for youWhat version of QTP are you using...............I guess it's 9.1??Whats the version of the .Net framework ( must be 1.1 or 1.0)??Are the objects of the type "wbfGrid"??If the answer to the above questions is YES...........then please raise an SR with Mercury and ask them to send a patch for the .net Add-in.The .Net Add-in 9.1 is designed to talk to framework 2.0 only.You can edit the .net version in the XML lines in the QTPro.exe file in the "bin" and make it talk to >net 1.1.I would not try this option as it's riksy!!!!!!Mercury sent a patch after doing their R&D. You shd be fine once you paste the patch.

    Last edited by animesh.chatterjee; 01-18-2008 at 08:19 AM.

  13. #13

    Re: QTP and .net 3.0 applications.

    yes man this information is correct..
    QTP 9.5 is not officially launched ....i guess it is in beta testing phase...
    however you can raise a SR to mercury portal for the fix the problem in our current configuration..
    they will be able to tell you the exact problem defination and solve technique.


  14. #14
    Junior Member
    Join Date
    Oct 2010
    Answers
    1

    Question Re: QTP and .net 3.0 applications.

    I have a similar question..please help
    I am working with qtp 10 and an appl built on .NET v3.5.
    QTP is unable to identify any object in the appl.
    I tried to change the QTP config file to v=3.5 but QTP fails to open after that.
    I chekced the system and it is installed with .NET 3.5 frame work.
    I am unable to figure out the solution to make QTP read .NET framework.
    Any suggestion would be greatly appreciated.


  15. #15
    Junior Member
    Join Date
    Feb 2008
    Answers
    1

    Re: QTP and .net 3.0 applications.

    Hey,

    I am facing similar issue with QTP 10 and .Net 3.5.

    Please let me know if somebody has resolution.

    Thanks,
    Parveen


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact