Showing posts with label testing automation. Show all posts
Showing posts with label testing automation. Show all posts

Sunday, May 18, 2014

Pytest - Python Testing Tool - Testing Framework for Python

Python is a great language that allows you to accomplish things efficiently and effectively in little time. There are many frameworks out there for various purposes and objectives, and in a recent project I have used yet another one for testing, whose flexibility from the command line and extensibility possibilities merited a mention here.

Where to download Chrome Driver for use with Selenium WebDriver - Chrome Driver Download

Sunday, April 14, 2013

Start using Selenium Server - Selenium basics

To use Selenium, you need to download the Selenium Server (only a jar file), and the language-specific client drivers that corresponds to the language of your preference (Java, Python, Ruby, etc.). You find all these in the same place: http://docs.seleniumhq.org/download/

Once you perform all the necessary steps for installation (downloading and installing libraries), on your code you will need to import the libraries that will allow you to interact with the selenium server, and perform your automation tasks.

For basic examples on what can be done and how (with actual code and snippets) you can refer to the official Selenium website: Setting up a Selenium WebDriver Project. They have examples in many languages.

With this automation tool, plus some knowledge of general computer science, you can create many useful scripts, even for personal use. If you think 'automation', think also outside of Selenium by programming general software, and add the possibility of those scripts interacting with Selenium itself, or even, using virtual machines to interact and not disturbing your host machine. If you have enough computer power, you can even multiply these to get parallel computing possibilities.

Another useful thing that many do not realize is that, while using certain scripting languages you require the server to be started, that can also be automated very easily from within the code. You can create processes, threads, and make calls to the OS to run Selenium Server and close it at will.

For people working professionally on testing, they probably already know plenty about automation. Selenium adds possibilities to integrate it's findings, and by enabling us the ability to create behavior and logic with our regular programming abilities, we can create reports on many formats and tools enabling further interaction with other software being used by any company working on software development and testing.

Thursday, March 28, 2013

QA Automation Testing Introduction

This blog aims to share information and knowledge about QA, Testing, and Testing Automation.

Even though there are lots of blogs, books, websites and available information on the subject out there, my goal is to keep this content clear, specific and summarized, in the hopes of be a reference in the future for certain cases, for myself and others.

Testing is always needed to ensure that what we are creating or developing works as it should, from a functional perspective (if we are using verification (did we build the product right?) and also, very often, if it is what the end-user, customer or client really required and needed (validation (did we build the right product?)), and with the desired quality.

Testing Automation, also referred just as "automation", is the application of automation processes to perform testing. In Testing, we find that certain tests need to be repeated often and might be simple and/or time consuming. If, for example, you ever worked in a project and needed to perform testing and QA, you know how automation would be useful when performing a regression. This is more notorious on environments and projects where you have new versions and sub-versions of the software often, such as in projects using agile methodologies.