Forum Discussion

d_padalia's avatar
d_padalia
Occasional Contributor
10 years ago

Issue with hwndwrapper control having tabs in TestComplete

Hi ,



I am having issue to identify the tabs inside the hwndwrapper control.



The full name is :



Sys.Process("gui12d8").Window("HwndWrapper[ipse_gui12d8.exe;;52246b21-d208-4dd4-b86d-ddf8dbcfa2f8]", "Launcher", 1)





Dont see any property which is able to show the child tabs : A,B,C and D.



I want to select each tab and perform an action on the menu inside it.





I am using TC 9.33 but also getting issue on TC10 on another machine.

Using .Net fraemwok 4.5, have the WPF checkboxed checked in the object mapping and have WPF extension installed.



Any help would be much appreciated.







4 Replies

  • d_padalia's avatar
    d_padalia
    Occasional Contributor
    Hi tanya,



    My colleague helped me out with this.



    I had to select "Use all processes" in "Open Applications">"Process Filter" as this exe is different from my current exe.





    Thanks for looking into it.



    Cheers



  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Hi Deepak,

     


    TestComplete doesn't recognize your WPF application as open for some reason. Try increasing the value of the Method invoke timeout project option - set it to more than 30000 ms. If some complex and long actions take place in your app, it can help TestComplete wait until the app is fully loaded. Refer to the "Project Properties - General Open Applications Options" article for details.


     


    Does this help?

  • d_padalia's avatar
    d_padalia
    Occasional Contributor
    Thanks For your prompt replyTanya.



    However its still not working.





     
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Check whether TestComplete recognizes a simple WPF application properly. You can explore the Orders application shipped along with TestComplete. It's located here:

    <Users>\Public\Documents\TestComplete 10 Samples\Open Applications\WPF\


     


    Do you see the WPFObjects objects in the object tree?