Forum Discussion
Hi,
The error may mean that either
a) the link was not found or that
b) the result array was not converted for JScript/JavaScript code.
For the case a) - can you confirm with the ObjectBrowser that the sought for link does exist? Note, .FindAll() result will be 'visually reverted', i.e. the first element of the array will reference the last sought for element on the screen. Note2, in case you don't need to search for all links on the page, there is no reason to use .FindAll() because of performance considerations. .Find()/.FindChild() is much better in this case.
For the case b) - if your test code is in JScript/JavaScript, the resulted array must be converted to the JScript array format (https://support.smartbear.com/testcomplete/docs/scripting/specifics/jscript.html#arrays for more details)
Related Content
- 6 months agomacheshmeh
Recent Discussions
- 3 days agovladd1