Silverlight and WPF
Hello. TestComplete 7.52 doesn'r recognise objects of SilverLight or WPF applications. For example, you can see the followings results:
WPF:
var wnd;
wnd = Aliases["ShellDocObjectView"]["DocObject_Top_Class"]["Item"];
wnd["Click"](439, 246);
wnd["Keys"]("33");
wnd = Aliases["IEXPLORE"]["IEFrame"]["FrameTab"]["tabpage"]["ShellDocObjectView"]["DocObject_Top_Class"]["Item"];
wnd["Click"](511, 247);
wnd["Keys"]("33");
wnd["Click"](468, 314);
wnd["Click"](471, 294);
wnd["Click"](535, 298);
Silverlight:
function Test2()
{
var page;
var table;
var vobject;
Aliases["iexplore"]["ToURL"]("http://oisplus64:8085/");
page = Aliases["iexplore1"]["pageHttpOisplus648085"];
table = page["formAspnetform"]["tableCtl00Systemtable"];
vobject = table["cellCentrnav"]["panelCtl00Updatepanel1"]["tableCtl00Wznavigation"]["cell"]["table"]["cell"]["tableWebpartGwpxap"]["cell"]["panelDivCtl00WpmGwpxapXap"]["objectObjectCtl00WpmGwpxapXap"];
vobject["Click"](973, 40);
vobject["Click"](991, 37);
vobject = table["cell"]["table"]["cell"]["panelCtl00WpbUpdatepanel2"]["tableCtl00WpbWzright"]["cell"]["table"]["cell"]["tableWebpartWp1944410806"]["cell"]["panelDivCtl00WpmWp1944410806Wp93"]["objectObjectCtl00WpmWp1944410806"];
vobject["Click"](190, 11);
vobject["Keys"]("27");
vobject["Click"](176, 132);
page["Drag"](1013, 127, 10, 62);
}
Testcomplete recognize only the Application Window. I also tried to use Find tool (Create Property Checkpoint), but it also can see only Window, it cannot see objects(edit, buttons etc).
I haven't the following objects in menu to tick Project Explorer->Properties->Open Applications->UI
Automation:
ATL:*,MicrosoftSilverlight, MozillaWindowClass
IIS6, WinXP, IE 8, Silverlight 3.0, .NET Framework 3.5