SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 9 of 9
  1. #1
    Senior Member
    Join Date
    Oct 2005
    Location
    Universe
    Posts
    393
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    QTP 10.0 not working with WPF/.NET 4.0

    Hi All,

    Application Summary:: I have .NET application having WPF controls which has been developed using .NET 4.0 framework.

    Problem:: I am using QTP 10.0 to automate the above application, i have the .NET addin installed plus i have installed the "WPF extensibility patch QTPNET_00038" BUT still neither i can identify objects nor record any script.

    What can be the problem here? Quick reply would be appreciated.

    Thanks,
    Wasim

  2. #2
    Member
    Join Date
    May 2010
    Posts
    72
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP 10.0 not working with WPF/.NET 4.0

    I found the patch description has below information

    To ensure support of WPF objects, update the mercury.ini file as
    follows:
    a. Open <Windows installation folder>\mercury.ini in a text
    editor.
    b. In the [MicIPC] section, add the following line: conhost.exe=0

    But it doesn't work on my machine. Hope it can help.

  3. #3
    Senior Member
    Join Date
    Oct 2005
    Location
    Universe
    Posts
    393
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP 10.0 not working with WPF/.NET 4.0

    I tried that before posting this thread, didn't work on my end too.

    Thanks,
    Wasim

  4. #4
    Member
    Join Date
    May 2010
    Posts
    72
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP 10.0 not working with WPF/.NET 4.0

    [ QUOTE ]
    I tried that before posting this thread, didn't work on my end too.

    Thanks,
    Wasim

    [/ QUOTE ]

    Hi, I am still working on this problem. The HP support tell me update my QTP follow the below patch order:
    1. QTP_00667
    2. QTP_00644
    3. QTP_00651
    4. QTPNET_00038
    5. update all the required patch by HP Auto-update

    ps: The first is for reset the QTP10 update service. others are for WPF and Win7.

    But my problem is still there.

    You can have a try.
    If you solve the problem, best appreciated to share this.

    Thx.

  5. #5
    Junior Member
    Join Date
    Jul 2003
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP 10.0 not working with WPF/.NET 4.0

    I'm experiencing a similar problem. I am testing a WPF Browser app in Windows XP and started off unable to recognize any WPF controls and now I'm at the point where QTP can recognize WPF objects through the Object Spy but recording is inconsistent and crashes my app.

    If it helps, the patches I currently have installed are:

    QTP_00591
    QTP_00626
    QTP_00667
    QTPNET_00015
    QTPNET_00030
    QTPNET_00038

    If either of you figure out a solution, please update! I'll be sure to do the same...

    Thanks!

  6. #6
    Junior Member
    Join Date
    Jan 2010
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP 10.0 not working with WPF/.NET 4.0

    Is anyone else unable to download the patches manually? When I plugged the patch id into the search function is returns a link to the patch, then I follow the link, to what should be the patch, and it returns "object not available".

    Any ideas?

  7. #7
    Senior Member
    Join Date
    Oct 2005
    Location
    Universe
    Posts
    393
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP 10.0 not working with WPF/.NET 4.0

    Thanks for your replies guys, I had a word with the HP US support guy and he told me that a fix to this problem is coming with QTP 11.0 which is getting released in December 2010. We will have to wait till then [img]/images/graemlins/frown.gif[/img] .

  8. #8
    Member
    Join Date
    May 2010
    Posts
    72
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP 10.0 not working with WPF/.NET 4.0

    I also get the msg from them that QTP10 can not fully support for WPF in Win7-64

  9. #9
    Member
    Join Date
    Jun 2008
    Location
    Abu Dhabi, UAE
    Posts
    69
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP 10.0 not working with WPF/.NET 4.0

    Hi All,

    QTP Version : 10
    OS : Windows XP
    Technology application under test : C++/MFC and C#/.NET
    Add -In Used: .NET & WPF
    Hotfix and Patch Information: QTPNET_00038 for HP QuickTest Professional 10.00 QFE

    Whenever I do the recording or try to recognize the objects for my application using spy or manually adding the objects using repository it recognizes some of the part of it but does not identify when I highlight the object or try to playback the script.

    I tried individually with .NET and WPF add-in separately and tried to do recording and manually adding objects in repository but it didnt work.

    It does not identify the property for the field, it takes it like click only. Please see the below code:

    SwfWindow("ERAM (MainWin) -").SwfWindow("Order").WpfWindow("elementHost1").Wp fComboBox("Combo").Click 75,13

    SwfWindow("ERAM (MainWin) -").SwfWindow("Order").WpfWindow("elementHost1").Wp fComboBox("Combo").Select "Equity"

    Interesting part is when i place my mouse on the above first line of code and it shows me the position of that field highlighted in the Active Screen, but if I complie it doesnot work.

    I tried the application on another tool Ranorex, in it it worked fine. But, as per my my cpmany requirments we are supposed to this in QTP.

    QTPNET_00038 : I tried this patch and it solved much of the issue but still unable to recognize the objects properly. Like it does sometimes and sometimes it simply crash the QTP.

    Kindly do help me if anyone have faced such issue before.


    Warm Regards
    Adeel Mannan

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 9.38%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 07:51 PM.

Copyright BetaSoft Inc.