September 2010 Summaries
2 posts from Sauce Labs
Filter
Month:
Year:
Post Summaries
Back to Blog
To minimize the pain of locator breakage in Selenium, it is recommended to separate scripts from locators and use an external mechanism to provide the locators. This can be achieved through user-extensions in Selenium IDE or by reading run-time properties from external files in languages such as Java. Using a consistent naming convention for property names can increase readability and make it easier to cascade changes throughout the suite of scripts. Page Objects are also beneficial, but that is beyond the scope of this article. The goal is to avoid hardcoding locator strings and instead use an abstraction mechanism to allow for easy updates without recompilation. By doing so, teams can reduce the time invested in maintaining their automation and keep pace with feature development.
Sep 30, 2010
915 words in the original blog post.
Cucumber Sauce is a cross-browser testing tool that allows developers to run their cucumber tests across different browsers simultaneously. It uses a yaml file to configure the browsers and can be easily set up for development and production environments. The tool is designed to run tests in parallel, reducing the overall time overhead, while maintaining independence between individual test scenarios. This project aims to provide a standardized solution for cross-browser testing in Cucumber, making it easier for developers to speed up their tests.
Sep 20, 2010
141 words in the original blog post.