Forum Discussion
Unfortunately, that is really not enough information to help resolve the issue? Is this test being run on a VM with sufficeint resources such as memory and disk space? Also from the description, it sounds like employing somewhat generic properties and the parent object has a lot of child items. Can you post a sample of the code that is being used for the FindAllChildren method to help narrow this down somewhat?
Code example:
PropArray = ["Name", "Visible"]
PropValue = ["VCLObject(\"TB\")", true]
while(!aqObject.IsSupported(obj, "FindAllChildren")){}
object = obj.FindAllChildren(PropArray, PropValue, 5, true); //freeze is here
Childs count is from 10 to 100.
This is not VM related issue - I've got freezes also at my desktop 8Gb RAM CoreI5
- mes607310 years agoContributor
Seems like possibly the search criteria is too generic and needs to be more discriminating:
// example of additional properties - if applicable maybe add .NET properties
PropArray = ["Name", "WndClass", "Enabled", "Visible"]
// ** update 'ClassName' with applicable value
PropValue = ["VCLObject(\"TB\")", "ClassName", true, true]- NK0001001010 years agoOccasional Contributor
Thank you, mes6073, but my search criteria is uniq; anyway there is no difference how much properties of object I specify for search - 2.. or 6.. result is the same...
- Marsha_R10 years ago
Champion Level 3
Can you post a screenshot of the properties for the object that you think the search should find?