Forum Discussion

rdeters's avatar
rdeters
New Contributor
10 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.