eykxas
11 months agoRegular Contributor
Ignoring Runtime Error
Hi ! How can I ignore Runtime Errors ? In my project, sometimes TestComplete (or TestExecute) is a way too fast for the webapp, and when the code tried to do some thing (like toArray() on an obj...
- 11 months ago
FindAll returns an array of the tested objects, otherwise it return an empty array, which will have a length of zero.
Within your function, you should also check that page actually exists, so that the method FindAll works.
Also, be careful when reassigning variables ar = ar.toArray()