Exists methode on WPFobject
Hi,
I'm a starter on TestComplete and I search a methode for check if my window exist. I know the methode "Exist" but it seems that it don't work on my problem.
I explain :
Two kind of window can apear when I click on a button :
Sys.Process("SEE").WPFObject("HwndSource: *CadDialog", "*").WPFObject("*CadDialog", "*", 1).WPFObject("Grid", "", 1).WPFObject("CADContent").WPFObject("CADControl").WPFObject("Grid", "", 1).WPFObject("seePropertyCard").WPFObject("barPropertyCard")
or
Call Sys.Process("SEE").WPFObject("HwndSource: *CadDialog", "*").WPFObject("*CadDialog", "*", 1).WPFObject("Grid", "", 1).WPFObject("CADContent").WPFObject("TabControl").WPFObject("CADControl").WPFObject("Grid", "", 1).WPFObject("seePropertyCard").WPFObject("barPropertyCard")
In the first version I've got "TabControl" and in the second not.
When I try a Exists methode ion the second or on the first TestComplete said :
Unable to find the object WPFObject("TabControl"). or Unable to find the object WPFObject("CADControl").
Thanks for your help !