Hi All-
About a year ago we wrote a script in Ruby using the Watir library (basically, a Selenium webdriver wrapper) to automate testing of the Contributor UI in our WebCenter Sites 11.1.1.8 install. It's on a schedule to run a few times a day to ensure the system is up and running for users. The script works by using XPath selectors to find specific UI elements that simulate what a user would click or select (hover over the "New" menu, click on "New Article", etc); however, those selectors are extremely brittle and it seems like the UI morphs periodically so that on some days they work and on other days they don't. This causes a lot of false-negative "System is down!" errors, so the script has lost its usefulness since anytime we see an error we assume it's the script's fault, and not an actual problem.
This would be easier to do if the elements in the UI had reliable ID's that we can use to select, but those seem like they're programmatically generated and don't stay the same either. Does anyone know of an easy-to-use automated testing framework we can do to simulate user actions in the Contributor UI? I know it's Dojo-based, but nothing caught my eye at first glance. Maybe the Oracle team could recommend something they use for regression testing on their side?
Thanks,
John