Forum Discussion

terwayo's avatar
terwayo
Occasional Contributor
7 years ago
Solved

Does TestComplete support Lightning by Salesforce?

Hi ,   When I run Test Complete 10 automated test scripts on lightning, the text fields are filled out but cleared when the save button is clicked then a validation message is displayed to enter fi...
  • AlexKaras's avatar
    AlexKaras
    7 years ago

    Hi Debbie,

     

    It is not easy to suggest something useful without seeing at least how tested web page is recognized in TestComplete's Object Browser.

    But my first and the strongest recommendation will be to use XPath for the object's identification as little as possible and only as a last resort in cases when some object on the page is skipped by TestComplete but for some reason you must find it. (For example, an empty DIV section.)

    XPAth is the slowest (up to 30 times slower as per my quick measurements, but usually XPath is 6-9 times slower), case-sensitive and very inconvenient way of object identification in TestComplete when compared to the native functionality provided by TestComplete (Name-mapping, Aliases and FindXXX() methods). As for the cases with the mentioned empty div, usually this is a result of extremely poor page design... and yes, might be the only workable approach if you happen to participate in such project without any chance to make stable identifiers to be assigned to, at least, the key elements on the page.