Forum Discussion

NicolasD's avatar
NicolasD
New Contributor
3 years ago
Solved

TestComplete QuerySelectorAll do not return Array (TC 14.80)

Hello all,   I'm trying to works with querySelectorAll, but TestComplete only returns me the length of the result, not the Array. I tried with TC version QuerySelectorAll and native one querySelec...
  • NicolasD's avatar
    NicolasD
    3 years ago

    Hello Justin Kim,

     

    To answer to your question, indead I can not call any DOM Attributes, because rowsTC[i] and rowsNative[i] in loop returns undefined.

    I tried to use FindElements.

    The result is better and as expected.

    Netherless, it seems FindElements() is not available on retrieve DOM element next to querySelector().

     

     

    Thanks a lot for the Workaround.

    I Hope I will be to solve/understand what is happen.

     

    Kindly Regards,

    Nicolas.