Hi Isomorphic,
after reading your blog post for the new SmartGWT 12, it seems that the best practice for testing applications with Selenium must have changed.
The 6.1 and 12.0 docs for UsingSelenium do not differ, though. Same for 6.1 and 12.0 docs for AutomatedTesting. Same for 6.1 and 12.0 docs for JUnitSeleniumRC.
My questions are now:
Blama
after reading your blog post for the new SmartGWT 12, it seems that the best practice for testing applications with Selenium must have changed.
The 6.1 and 12.0 docs for UsingSelenium do not differ, though. Same for 6.1 and 12.0 docs for AutomatedTesting. Same for 6.1 and 12.0 docs for JUnitSeleniumRC.
My questions are now:
- If I'm not using Selenium yet, but planning to do so soon, how to start best?
- Use the Selenium browser extension or Selenium IDE (I assume the former, which then also means webdriver, correct)?
- It is still necessary to use the user-extensions.js and user-entensions-ide.js if using the Selenium Extension for Chrome?
- Does anything regarding the locators change (I assume no, still e.g. "scLocator=//TreeGrid[ID="employeeTree"...)
General questions: - As of today, I'm not using any setID(), so I have generated IDs, which is fine. If I have more instances of one class and want to target e.g. the 4th one, but don't know if there will be 3 or 4, how do I do this?
- Can you update the mentioned 12.0 docs to reflect the Best Practice changes that come with the change to WebDriver?
Blama
Comment