Forum Discussion
tristaanogre
15 years agoEsteemed Contributor
As I said, that worked fine for me.. I'm running TestComplete 8.60 and there are no problems.
So, the question is still, how have you implemented this concept? Please post your code.. include any information such as the kind of application you're testing (web, desktop, etc) and any error messages you're getting.
See, I say it works, you say it doesn't, somewhere there's something wrong. If you can post your code with that information, we can figure out, from there, what's going wrong.
I've also done the following:
This closes all three... however, the last line DOES generate a warning saying it couldn't find one instance...but that is expected since I closed one of the three individually.
So... the methodology from the help article is working using the simple "NOTEPAD" example as given... so, the problem is probably within the application you're using or how you're implementing it.
So, the question is still, how have you implemented this concept? Please post your code.. include any information such as the kind of application you're testing (web, desktop, etc) and any error messages you're getting.
See, I say it works, you say it doesn't, somewhere there's something wrong. If you can post your code with that information, we can figure out, from there, what's going wrong.
I've also done the following:
function meh()
{
var MyApp = TestedApps.NOTEPAD.Run() //Notepad has a count value of 3
Delay(1000)
MyApp.Close()
TestedApps.NOTEPAD.Close();
}
This closes all three... however, the last line DOES generate a warning saying it couldn't find one instance...but that is expected since I closed one of the three individually.
So... the methodology from the help article is working using the simple "NOTEPAD" example as given... so, the problem is probably within the application you're using or how you're implementing it.