Ask a Question

How TC names objects

d4h8a1
New Contributor

How TC names objects



I am running testComplete 7 and it seems like every time I walk away from my machine the scripting language changes.  I worked for a few hours yesterday recording, editing, and successfully running scripts that looked like this:


   SiteName++;

   // Click create new site button

   toolStrip = explorer.mainToolStrip;

   toolStrip.ClickItem("&New");


Today I open testComplete and my script wont run at all.  I recorded a script to see if there was something fundamentally wrong, and I got something that looked like this:


  wndWindowsForms10Window8app033c0d9d = esiMain.wndWindowsForms10Window8app033c0d9d;

  wndWindowsForms10Window8app033c0d9d.Click(407, 15);

  wndWindowsForms10Window8app033c0d9d.WindowsForms10Window8app033c0d9d.Click(15, 12);

  esiMain.wndWindowsForms10Window8app033c0d9d1.btnCancel.ClickButton();


Why are these names different?  What has happened to my stuff?  The program I have been testing didn't change, the script or testComplete didn't change, my machine didn't change.  Why would everything suddenly go bananas?
1 REPLY 1
YMinaev
Staff

Hi,



Try applying the fix mentioned here.
------
Yuri
TestComplete Customer Care Engineer

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: