Update Selector
- 3 years ago
With Salesforce, and any enterprise packaged web app I would 100 Percent recommend the CSS and Xpath selectors, much much more robust.
- 3 years ago
TestComplete uses multiple CSS or xpath selectors to Identify objects, so if something changes, it can automatically self heal to the other selectors available in the object repository. Also CSS and xpath selectors are browser and OS agnostic, so you could play this across Firefox, Chrome, any available browser.
- 3 years ago
Hi,
> Previously, I explained the reason for using CSS options as my feeling
I would put it this way:
It is possible to search by XPath/CSS using original (now known as 'legacy') approach.
The case here is that original approach works only on the systems where TestComplete can be installed on. I.e. only on Windows-based systems.
If you are going to use (or if at least any chance) your web tests with providers like CrossBrowserTesting/BrowserStack/etc. on non-Windows systems, than you just have no other way but to use modern XPath/CSS-based approach.
If you are 101% sure that your tests will be executed on Windows systems within your network, than any approach as per your personal preferences can be used.