Category Archives: Selenium 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

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

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

Why it is necesary to erradicate non-deterministic test?

During the last couple of days, I’ve had some issues because some specific test fails in TeamCity. What is hard to understand is why they fail sporadically, I’ve performed executions of the same test in my environment, but I have … Continue reading

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

Using WebDriver and the power of jQuery to interact with html elements.

I was creating an automation test to verify that TeamMentor’s About page was displayed correctly. After opening the About page and perform the test, I wanted to close it (by looking at the small X  that closes the window). But … Continue reading

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

Dealing with Iframes and WebDriver : TeamMentor’s About page

Tonight I was trying to add a new test to validate that TeamMentor’s About page is  being displayed correctly. I thought that this test would take me a few minutes to complete, but the scenario was totally different. For some … Continue reading

Posted in Browser Automation, Selenium WebDriver, UnitTests | Tagged , , | 2 Comments

First steps with FirePath : What a useful tool

Continuing with the Automation project, WebDriver allows to interact with the DOM (Document Object Model) through XPath . Xpath provides a quite interesting approach to query the DOM, but sometimes it requires dedication and practice to fully understand how it works … Continue reading

Posted in Browser Automation, GUI, Selenium WebDriver, UnitTests | Tagged | 2 Comments

Taking a look at TeamMentor in Google Analytics : What a good achievement!

I had the opportunity to see, in  real-time, TeamMentor’s trend in Google Analytics. The dashboard is pretty interesting and I was able to see how the traffic increased exponentially after performing the browser automation test. I was able to see … Continue reading

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

Reporting an issue in TeamMentor’s 3.3

Yesterday Dinis helped me to configure TeamMentor’s automation test project out of the box (look at Dinis’s blog Using TeamCity and NUnit to Start WebServer, Run Selenium Tests and Stop WebServer). I started to running the WebAutomation test and I found … Continue reading

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