Forum Discussion

rdeters's avatar
rdeters
New Contributor
11 years ago

testcomplete doesn't properly recongnize popup menus

I am trying to create a test for a WPF application.  How do I access the popup menu without using the Thread?



Sys.Process("FlexUI").Window("HwndWrapper[FlexUI.exe;AVAir UI Thread;618b8dc5-2954-4062-a6a9-0fd9961aa223]", "", 1).UIAObject("ContextMenu").UIAObject("Preview")



The Thread changes everytime rendering the test useless.



Thanks for you help.  I'm sure this is something simple.

1 Reply

  • Hi,

     


    Judging by the code you posted, the UI Automation technology is currently used to recognize objects in your tested app. Could you please clarify whether you have issues with recognizing only this pop-up window or the entire application?