Run Remote Browser: Methods supported
Hi,
We have some existing keyword tests with scripts where we use methods EvaluateXpath, FindChildByXpath etc.
Now we are running the same keyword tests through the Run Remote browser utility to perform crossbrowser tests across browsers/devices. The test seem to be failing at steps where EvaluateXpath, FindChildByXpath are used. What is the workaround to make the existing scripts compatible with cross browser tests through Run Remote Browser?
Any help will be greatly appreciated.
Amytav :
Hi,
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.