Contributions
Re: Ignoring Runtime Error
Doesn't work: And I think it's normal. The resulting object (when FindAll doesn't find something) has no length property. EDIT : okay I understand ! Sorry for the confusion ! Find methods return a Stub Object when they found nothing, and FindAll methods always return an array. (empty if nothing found). So in this case, the error isn't here, but in the "page" object passed as parameters.15Views0likes1Comment- 23Views0likes3Comments
Re: Ignoring Runtime Error
I'm using scripts. In these scripts there is often the FindAll method, which returns an array in safe format. So I have to call the toArray() method the get the array in native format, then I can sorting it. The problem is, if the FindAll method found nothing, it returns a stub object, and calling toArray() cause an error. Which is normal, the method doesn't exist for stub object. I can't find any way to secure this array, so I would like to ingore the error.37Views0likes2CommentsIgnoring 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 object) obviously it cause an error. The tricky part is that I can't use delay or wait or anything that might take time. I have a fixed window of time that I cannot exceed.Solved86Views1like12Comments- 20Views0likes0Comments
Re: Still using TestComplete 15.58
MSAA is configured, but I don't think it's related. In TC15.57, if I deactivate the checkbox "Enable supports for Web Components" I have the same behavior than TC15.61. But in TC15.61, this checkbox does nothing. (whether I activate it or not).34Views1like2CommentsRe: Still using TestComplete 15.58
Hi ! With TC15.61 I have some issues with custom web objects detection. My webapp use angular and has some custom object. For example this object "AppSignRoot". TC15.57 recognize it properly. But with TC15.61, despite the option is active it doesn't recognize custom objects properly :3Views1like4Comments