background preloader



Related:  Test Driven DevelopmentTests logiciels

Selenium – Is it worth the pain? Thought I might share with you a few of my experiences with using Selenium. It is a little overdue as I have only recently been able to bring myself to talk about it. With JIRA 3.10, we introduced the AJAX-based ‘User-picker’ and ‘Issue-picker’. A very handy feature, if I don’t say so myself. Having recently completed some AJAX eye candy for ShipIt V, I found myself tasked to do this, along with one of our new recruits – Brad (a Javascript guru*). Our architecture is based on dwr for the communication and yui for all the Javascript goodness.

Angling to develop for Google Glass? Google gives some insight If you’re looking for a taste of what it will be like to develop for Google Glass, the company posted a video demonstrating the hardware and a little bit of the API on Thursday. Timothy Jordan, a senior developer advocate at Google, gave a talk at SXSW in early March that lasted just shy of an hour and gave a look into the platform. Google Glass bears more similarity to the Web than the Android mobile operating system, so developing for it is simpler than creating an Android application. During the talk, Jordan goes over some the functionality developers can get out of the Mirror API, which allows apps to pop Timeline Cards into a user’s view, as well as show new items from services the user might be subscribed to (weather, wire services, and so forth). Jordan also shows how users can interact with items that crop up using the API.

Web Testing with Selenium Sushi: A Practical Guide and Toolset How does one test the user-interface of a web application? Too often, the answer seems to be 'clumsily, slowly, and not very well'. The technology of automated, repeatable, testing of websites is still developing, but it exists; and Michael Sorens is here to describe an even better approach based on Selenium Contents Some testing categories, such as unit testing, are well-supported by tools.

Selenium Testing? Do Cross Browser Testing with Sauce Labs Sign up for a free account This page will show you some CSS rules and pseudo-classes that will help you move your XPATH locators to CSS, a native approach on all browsers. I: Simple Selenium WebDriver — Selenium Documentation NOTE: We’re currently working on documenting these sections. We believe the information here is accurate, however be aware we are also still working on this chapter. Additional information will be provided as we go which should make this chapter more solid. Introducing WebDriver The primary new feature in Selenium 2.0 is the integration of the WebDriver API. WebDriver is designed to provide a simpler, more concise programming interface in addition to addressing some limitations in the Selenium-RC API.

The Definitive Guide to Yii Testing is an indispensable process of software development. Whether we are aware of it or not, we conduct testing all the time when we are developing a Web application. For example, when we write a class in PHP, we may use some echo or die statement to show that we implement a method correctly; when we implement a Web page containing a complex HTML form, we may try entering some test data to ensure the page interacts with us as expected. Selenium Tutorial Everyone wants to learn Selenium and productively use this test automation tool, but not everyone knows how to begin the journey. I will try to get you on the road to becoming a Selenium guru, starting with the basics and covering all of the core concepts you need to become vigorous in Selenium. I’m aiming Selenium tutorial at complete beginner who desires to learn Selenium from the very beginning, software professional who needs rapidly expand Selenium skills and QA Manager who eager to improve testing and coverage.

Functional Testing Before reading this section, it is recommended that you read the Selenium documentation and the PHPUnit documentation first. We summarize in the following the basic principles of writing a functional test in Yii: Like unit test, a functional test is written in terms of a class XyzTest which extends from CWebTestCase, where Xyz stands for the class being tested. MR3020 FTP Setup Setting up your LibraryBox for FTP will allow you to upload, download, and delete files from the "Shared" directory from a computer connected to the wifi signal, without having to physically interact with the LibraryBox or the USB drive. Once you have it setup, you will be able to use any FTP software to login and change the Shared files. Follow the steps below to enable FTP access on your LibraryBox. Connect to the LibraryBox SSID with your computer, and SSH into it: ssh root@

How to re enable logging during unit testing Introduction ¶ Some of you have experienced the need to log some information while doing unit testing, due to the fact that the information given in the summary is just not enough, to know why the test is actually failing. this article focuses on 2 ways to get you logs up and running again. Bootstrap file ¶ The basic bootstrap.php file looks like this. <?

Selenium Reference A command is what tells Selenium what to do. Selenium commands come in three 'flavors': Actions, Accessors and Assertions. Each command call is one line in the test table of the form: Actions are commands that generally manipulate the state of the application. Testing autocomplete fields with Selenium For quite a while I struggeled with testing autocomplete fields (like the one from the library) using Selenium tests. As you may already know – the “type” command does not trigger the autocomplete to look for suggestions. You rather have to use the keyUp/keyDown/keyPress command. Unfortunately their behaviour with autocomplete varies between different browsers. All this makes it a real mess (and complicated looking tests) to test a simple autocomplete field. The solution I found out about recently is to use the “typeKeys” command which seems to be a new comfort feature of Selenium.

License Version 2.0, January 2004 1. Definitions "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. Selenium Tips: Working with multiple windows May 24th, 2010 by Santiago Suarez Ordoñez One of the most common issues Selenium users look to Sauce Labs for assistance on is how to deal with popup windows, or even how to create your own new windows to do something in a shared session that could be connected with the main flow of your test. In this week’s tip, we’re going to explain how to handle new windows to run tests like this one recorded with our cloud hosted Selenium service, Sauce OnDemand. For multiple window tasks, Selenium provides the following commands: