Forum Discussion

ray_mosley's avatar
ray_mosley
Frequent Contributor
12 years ago

Recording scripts without Aliases or Variables

I would like to get the scripts recorded without any intermediate name mapping or using variables; in other words, I want to use the full name of objects.



Instead of recording the statements:

  Aliases.topsSchedule1.fmAPPSelectResource.sbFltNew.Click(27, 18);

  Aliases.topsSchedule1.fmAPPSelectResource.pnTool.pnNew.PopupMenu.Click("Equipment / Service");

I would like to have TestComplete record:

   Sys.Process("topsSchedule").VCLObject("fmAPPSelectResource").VCLObject("sbFltNew").Click(24, 18);

   Sys.Process("topsSchedule").VCLObject("fmAPPSelectResource").VCLObject("pnTool").VCLObject("pnNew").VCLObject("PopupMenu").Click("Equipment / Service");



How to I get TestComplete to record scripts this way?



12 Replies