brudnick
15 years agoOccasional Contributor
TestedApps.Count is 1 when all testedapps are closed
For good measure in my scripts, the last thing I do is:
if (TestedApps.Count > 0)
{
TestedApps.CloseAll()
}
When all the TestedApps in the project are closed, the value of count is 1.
Per AQA help topic:
if (TestedApps.Count > 0)
{
TestedApps.CloseAll()
}
When all the TestedApps in the project are closed, the value of count is 1.
Per AQA help topic:
"The TestedApps.Count
property lets you get the total number of
items (TestedApps
objects) that belong to the current project's list of applications to be
tested. The Property Value is the integer that means the number of items in the application
list."
Seems to be wrong to me.
I guess the workaround is to check for >1.