Forum Discussion
- dganov
Staff
You can find the code of indexOf method here:
https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/indexOf - zheOccasional Contributorthanks!
I have tried that. The problem is it seems TestComplete 8.x doesn't support indexOf method for Array object... - dganov
Staff
I meant that you can create your own function to search for an element in array - that is described in the Compatibility section of the article mentioned above. - zheOccasional ContributorSorry I didn't see that. Thanks!
I was just thinking maybe there is an equivalent function in TestComplete so I don't need to make my own indexOf() function