seafalcon
15 years agoContributor
"Use native object name For TestComplete object names" option doesn't affect recording
I enable/disable this option and record my testscript, it seems all objects' names are not really affected by this option when recording testscripts..
gridControl["MyDateEdit2"]["Click"](57, 10);
powerTax_Main["MyPopupDateEditForm"]["DateEditCalendar"]["Click"](93, 49);
gridControl["ClickNewRowCellXY"]("Gross up rate", 28, 10);
gridControl["ClickNewRowCellXY"]("Gross up rate", 43, 9);
gridControl2["ClickCellXY"](2, "Description", 25, 6);
gridControl["DblClickNewRowCellXY"]("Lowest Fare To Public", 37, 1);
gridControl["TextEdit13"]["wText"] = "2222";//why its still "TextEdit13" when I disable this option?
gridControl["Click"](730, 365);
I think if I disable this function, every object's name should be like
var p, w;
p = Sys["Process"]("My_NET_App");
w = p["WinFormsObject"]("MainFormClass", "Form Caption", 1);
Thanks
gridControl["MyDateEdit2"]["Click"](57, 10);
powerTax_Main["MyPopupDateEditForm"]["DateEditCalendar"]["Click"](93, 49);
gridControl["ClickNewRowCellXY"]("Gross up rate", 28, 10);
gridControl["ClickNewRowCellXY"]("Gross up rate", 43, 9);
gridControl2["ClickCellXY"](2, "Description", 25, 6);
gridControl["DblClickNewRowCellXY"]("Lowest Fare To Public", 37, 1);
gridControl["TextEdit13"]["wText"] = "2222";//why its still "TextEdit13" when I disable this option?
gridControl["Click"](730, 365);
I think if I disable this function, every object's name should be like
var p, w;
p = Sys["Process"]("My_NET_App");
w = p["WinFormsObject"]("MainFormClass", "Form Caption", 1);
Thanks