Category Archives: WebDriver

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

Using WebDriver Actions class to interact with TeamMentor contextual menu

I was trying to add a test to verify that TeamMentor contextual menu, was displayed using mouse right-click, so you should be able to see a menu like this one : Fortunately, WebDriver provide a class to interact with some … Continue reading

Posted in JQuery, UnitTests, WebDriver | Tagged , | Leave a comment

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

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

Frustrating WebDriver StaleElementReferenceException tied to Ajax

I’m facing a  really frustrating situation with WebDriver because I’m getting a StaleElementReference Exception. Based on WebDriver documentation, this exception might be displayed for this two situations: The element has been deleted entirely. The element is no longer attached to … Continue reading

Posted in UnitTests, WebDriver | Tagged , | Leave a comment