After one and a half year of developing test scripts using java a
colleague in Persado convinced me to give a shot to groovy. Playing
around for couple of weeks and there you are; I was convinced that
groovy would be the new exciting thing in my testing life. Taming my
excitement I decided to strategically replace blocks of java code
with groovy. The plan was not to replace code in page objects neither
test scripts but rather code in the supporting...
Monday, January 14, 2013
Friday, January 11, 2013
Adding the Sizzle CSS Selector library in Webdriver
Posted by asymmetrisimo
Posted on 10:50 AM
Selenium Webdriver has a weird opinion on Sizzle. Although (correct me if wrong) in the older Selenium-RC Sizzle was extensively used, in Webdriver it is only injected if the browser does not support native css selectors (see here). This is a pain if you've learned to love Sizzle's ability to "extend" the normal CSS selector lingo with more advanced spices, and you're mainly working with Firefox, for which Webdriver uses native css.
History
Some...
Tuesday, January 1, 2013
Missing Page Factories in Selenium RC ? Autowire
Posted by Georgios Kogketsof
Posted on 11:56 PM
One of the new features introduced in selenium 2 was the usage of the page factories to easily instantiate a page object. For those who still use selenium and want to have a feature as the aforementioned one the solution is to use the spring source autowire functionality.
Although spring is a powerful framework for java enterprise development, testers that are usually not familiar with the dependency injection model seem to avoid...
Subscribe to:
Posts (Atom)