New answers tagged

0

Yes, agree and you are moving in correct direction. Automation itself complex so fine if you add little more complexity ;) BTW - I would like to add few things in your plan : Page Factories Pages GoTo [I will say - Page Helper, inlcude all navigation scenarios] Actual Tests Test helper [includes, all common functions for all test] TestHelper.java/ruby [...


0

I use PageFactory with AjaxElementLocatorFactory - PageFactory is a support class for the Selenium 2 Page Objects pattern which you are using, and the AjaxElementLocatorFactory is the factory for the element locators. In your case the constructor will looks like: public GoogleResultsPage() { PageFactory.initElements(new AjaxElementLocatorFactory(driver,...


0

Totally agree with you @dzieciou. I have experienced that, delegates might be the culprit. It would be great if one could suggest us the actual solution for generic logging with BasePage.java and FinalLocators.java @paul - Below middle way/workaround I found and working well for me: Remove or stop using FinalLocators.java [ explanation:Something is not ...



Top 50 recent answers are included