ContributionsMost RecentMost LikesSolutionsRe: Name mapping expansionI did create a new project, confirming that JScript was the default. Now things are showing up ok. Odd However, on my new project, when I right click on a function, the option to "Run Current Routine" is greyed out so I can't actually run a function (yes, it is a function with no arguments). Ideas? Re: Name mapping expansionI remember choosing JScript as default when creating the project. When I look at Tools | Options | General | Project, I see the default set to JScript. When I create a new script, JScript is what's assumed. So I don't see that this is what explains it ... Name mapping expansionIn the TC editor (I'm using JScript), I can type DDT. and autocomplete gives a list of items. I can choose CSVDriver and press enter. What comes up is DDT["CSVDriver"]() rather than DDT.CSVDriver() I prefer the latter as being easier to read. The same thing is happening with name mapping. I can type frmParent. (mapped to a form named frmParent) and a list of mapped objects comes up. I can choose frmEditCodes and what comes up is frmParent["frmEditCodes"] whereas what I'd prefer is frmParent.frmEditCodes Any idea how to change it?Re: Checking for object existenceSorry for the delay, was distracted by other stuff ... I ran your suggested code on a form whose path did not include frmMainMenu. The result was an exception: The Aliases.STUV1.frmParent.frmMainMenu.panel2 object does not have a child with the name "lblUser". The problem I'm having is that I want to test the existence of an object, but get an exception if any of the objects in its path do not exist.Re: Cannot open fileThis begs a couple of questions. 1. Why should TC permit creation of a path that's longer than 260 characters? 2. Why can I run TC on a project that has a long path (greater than 260 chars) but cannot do so on a copy. (I did manage to make what I think was an exact copy on the Win 7 machine using xcopy.)Cannot open fileI'm getting the attached error message when I open a TC project. Here's the background. I developed the project on one machine (Vista). I wanted to copy it to another machine (Win 7) to run the tests there. There was a problem copying the file mentioned in the error message; apparently the file name was too large. I eventually reverted to xcopy to get things over. The file did show up. However, when I run TC on the Win 7 machine, I get the error message. On the Vista machine I don't. Any suggestions? I want to use long file names as they're descriptive of tests and can be converted automatically into sentences (Test: [Global Protocol Setup Form] : Enabled Machine Type And Treatment Type Should Match Instances).Checking for object existenceI'm trying to figure out how to check whether an object exists. There's a lot of stuff on the TC site about this, but I can't seem to find what addresses my fairly simple need. I want to check whether Aliases.STUV1.frmParent.frmMainMenu.panel2.lblUser exists or not (I'm using Javascript in TC for a .NET 4.0 WinForms application). WaitWindow doesn't seem like the right thing to use. I know there are other WaitNNN methods but don't know which to use. tia, BillRe: Controlling IDE focus during script developmentIs there some way in a script where I can force the log to open in a tab and switch focus to it? Something like Log.Show()? That way I could put it at the end of a script on normal termination.Re: Using ParamByName with ADO.CreateAdoStoredProc()Right, I got that. But why would it be so hard to give a pointer? It's really not clear where TC-specific stuff ends and 3rd party stuff begins. Telling me (a) that I need to look elsewhere and (b) where to go look shouldn't be that big a deal.Re: Controlling IDE focus during script developmentThanks, that's what I was looking for. I'd like to go ahead and display the log if the script ends on its own (finishes normally, or hits an error). Any way to do just that?