aamer_iqbal
13 years agoOccasional Contributor
FindAllChildren taking more time
Problem : FindAllChildren taking more time.
1. We are using FindAllChildren for fetching the child object of screen controls but it is taking more time and reducing performance.
2. Appx. 7 to 9 seconds for each control and we are having more controls to cover in our automation.
3. Is there any way to reduce the time for the same or any other way to find the object we want to access?
For example :
parent1. child1
parent2. child1
As both the child are same but the parent is different, we used findAllChildren to find the child related to particular parent even though their child names are repeated 'n' number of times.
Kindly provide with your best solution for this problem.
Thank you,
1. We are using FindAllChildren for fetching the child object of screen controls but it is taking more time and reducing performance.
2. Appx. 7 to 9 seconds for each control and we are having more controls to cover in our automation.
3. Is there any way to reduce the time for the same or any other way to find the object we want to access?
For example :
parent1. child1
parent2. child1
As both the child are same but the parent is different, we used findAllChildren to find the child related to particular parent even though their child names are repeated 'n' number of times.
Kindly provide with your best solution for this problem.
Thank you,