Category Archives: Browser Automation

Some jQuery selectors works on Firefox console, even though jQuery hasn’t been referenced

While we have seen the power of AngularJS (which looks very promising ), it seems like this framework is a good candidate for our future implementations. At the time of writing this article (April 29th, 2013), we are already using … Continue reading

Posted in Browser Automation, JQuery, Selenium WebDriver, WebDriver | Tagged , , | 1 Comment

Best approach to find nested elements with WebDriver :When Xpath becomes your best friend

Most of the time, browser automation using WebDriver is all about finding html elements: find a button and click it to perform any action, find an user input text box and set a specific text, find a link and click … Continue reading

Posted in Architecture, Browser Automation, FirePath, Selenium WebDriver, Tools | Tagged , , | 4 Comments

Browsers Dilemma : Opening a new window o a new tab?

Currently I’m working o a Windows 7 laptop and this is the version of my browsers: Firefox 19.0  Internet Explorer 9.0.8112.16421IC Chrome 25.0.1364.97 m The scenario I’m testing is that TeamMentor’s articles should be displayed in a new Window once you double-Click … Continue reading

Posted in Browser Automation, WebDriver | Tagged , , , | Leave a comment

Performing Double-click events with WebDriver : Using the Actions class

I’m writing some test that involves the  capability of using double-click events in TeamMentor to open that article in a new tab or in a new page (more about his later). Given the articles list, I wanted to select a … Continue reading

Posted in Browser Automation, WebDriver | Tagged , , | Leave a comment

Implementing PageFactory patten and Annotations in TeamMentor

One of the things I’ve been trying to achieve during the creation of a framework for browser automation, is the capability of using best practices and methodologies that make code maintainable across test. So I’ve been using the PageObject pattern and … Continue reading

Posted in Architecture, Selenium WebDriver, UnitTests, WebDriver | Tagged , , , | 2 Comments

The need of writting a book about how to implement WebDriver design patterns to create a framework in C#

Motivation George E.P Box wrote : Essentially, all models are wrong, but some are useful. It is clear that design patterns are useful in Software, but a wrong implementation can easily leads to a bad practice and a wrong application of the concept. … Continue reading

Posted in Architecture, Browser Automation | Tagged , | Leave a comment

Dealing with Ajax asynchronous request and the elements Rendering

Currently I’m adding several test to validate that TeamMentor’s search functionality worked as expected. I added some test to confirm that the search results were correct based on the search pattern. Since TeamMentor rely on Ajax and I’m trying to avoid … Continue reading

Posted in Browser Automation, JQuery, Selenium WebDriver, WebDriver | Tagged | Leave a comment