Tag Archives: Browser Automation

Using jQuery Selectors to interact with TeamMentor : A good starting point for browser automation

It’s important to take advantage of the cutting-edge technologies we are using at TeamMentor and make sure those technologies can be used to perform testing and improve the quality of the product.  Since at TeamMentor we rely on jQuery, it’s … Continue reading

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

Setting up TeamMentor Browser Automation Project

In this post I’ll walk you through the steps required to set up the browser automation project for TeamMentor. The first step is to have a specific folder with TeamMentor and The browser Automation project at the same level. The following … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Thread.Sleep() is a big hammer : How to wait for elements in WebDriver?

One of the most common elements that drives failures in unit test that works with browser automation is the fact that at the time of performing evaluations or assertions, those elements are either unavailable or the text that has not … Continue reading

Posted in Uncategorized | Tagged , | 1 Comment

Building a Framework for TeamMentor’s browser automation process

Christopher Alexander wrote :“Each pattern describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times … Continue reading

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