How TC names objects
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2010
03:23 PM
08-07-2010
03:23 PM
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2010
07:21 PM
08-07-2010
07:21 PM
Hi,
Try applying the fix mentioned here.
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. ⬇️⬇️⬇️
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
