Showing posts with label Automation. Show all posts
Showing posts with label Automation. Show all posts

Wednesday, February 9, 2011

Selenium Tutorial

This tutorial explains how to use write selenium tests using frameworks like Junit , TestNG with Ant. Hope by the end of tutorial you will get a base framework to start your tests for your application under test.
First of all take your own time and go through the entire document available at http://seleniumhq.org/docs/index.html.
Now starts with Installation of required artifacts.



  1. Installing eclipse
    Your computer should have a working Java Runtime Environment (JRE) v6 to run Eclipse. If you do not already have it, follow the instructions for installing Java 6 before installing Eclipse. Regardless of whether or not you had an existing, prior version of Eclipse, click to open the local zip archive of the Eclipse program so that you can view the folder. Once downloaded zip file , extract the zip contents into a folder (eg: c:\eclipse ). Open eclipse editor by doubleclick eclipse.exe.

Wednesday, October 8, 2008

Criteria for Automation

Criteria for automating
There are two sets of questions to determine whether automation is right for your test case:

Is this test scenario automatable?
Yes, and it will cost a little
Yes, but it will cost a lot
No, it is no possible to automate

How important is this test scenario?
I must absolutely test this scenario whenever possible
I need to test this scenario regularly
I only need to test this scenario once in a while


If you answered #1 to both questions – definitely automate that test
If you answered #1 or #2 to both questions – you should automate that test
If you answered #2 to both questions – you need to consider if it is really worth the investment to automate

What happens if you can’t automate?
Let’s say that you have a test that you absolutely need to run whenever possible, but it isn’t possible to automate. Your options are
>Reevaluate – do I really need to run this test this often?
>What’s the cost of doing this test manually?
>Look for new testing tools
>Consider test hooks