@tristaanogre , There is no FindAllElements. FindAllChildren does work but once the length is determined, we have more xpaths inside the iteration loop like :
@Amytav just checked with the TC product owner, and as of right now when we are using the cross platform web tests, only the findElement() method is available on the Page objects.
Just o sum-up: as @hkim5 already wrote, new cross-platform mode introduced in TC 14.40 is not compatible with old test code and works only for the new projects that use .FindElement() and .WaitElement() page methods only.
The reason is that cross-platform mode runs Selenium under the hood and two mentioned methods are the only ones that are translated to Selenium calls during runtime.
All other methods provided by TestComplete are not translated to Selenium calls and thus cannot be used for cross-platform testing.
Thank you for confirmation. Is there any method supported to store collection of objects in cross-platform mode introduced in TC 14.40? I believe selenium has method FindElements which does that but this is not supported in TC 14.40.
Thank you for the update.
I also heard that they are going to introduce NameMapping support for cross-platform mode as well. So, I expect that cross-platform mode will be as usable as any other functionality in TestComplete soon. 🙂 (Yes, I understand that this is not what you like to hear when you need something like that right now. 🙂 )