Category Archives: UnitTests

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

Becoming Fiddler best friend: A use case that demostrate how to integrate tools to improve quality

I do have a special admiration for  Fiddler, because now more than ever, I’m able to exploit all the potential of that tool and because the scenarios I’m working on TeamMentor allow me to use it and taka advantage of … Continue reading

Posted in Fiddler, Fiddler Drag and Drop, Tools, UnitTests | Tagged | Leave a comment

Using Fiddler to compare Web Sessions in TeamMentor

After getting the latest version of TeamMentor (TM 3.3 RC3.01), I was experimenting a really annoying behavior. The problem was that the admin credentials provided to login into TM sometimes worked and some times didn’t. Yeah, I was under the … Continue reading

Posted in Architecture, Tools, UnitTests | Tagged , , | 1 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

Implementing best practices on TeamMentor Automation project based on learned leasons

Browser automation is a fairly new discipline and it has been implemented in several projects. The good news is that there is always a new opportunity to learn. One of the headache of this process  is the fact of facing … Continue reading

Posted in UnitTests | 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

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