Tag Archives: WebDriver

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

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

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

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