Reasons to automate the regression test suite

There are four reasons why you should automate the regression test suite
1. It increases the amount of time testers have to test new functionality. (That’s manual exploratory testing. Which requires intelligence, creativity and adaptability. Which requires a human being.)
2. It increases the level of confidence in the regression test results (Let’s be honest, humans are poor regression testers. Checking the same thing over and over is tedious. Unlike computers, we get bored, we get distracted, we don’t notice regressions slipping past.)
3. Once automated you can run them any time you want (No more worries resourcing regression testing, just press “start”.)
4. It increases testers job satisfaction – less context switching, no repetitive testing, more time to find bugs, greater use of mental abilities.

Posted in Agile Testing, Software Development Methodology, Testing Methodologies | Tagged , | Leave a comment

How to send Selenium Results as email with C# script

In this example I will tell you how you can send the selenium results once the scripts have run. This script should be last script to run. The script will tell you where the results are stored. I am using the BMail to send emails. Bmail is a free but lean command line SMTP mail sender. Don’t get fooled into playing $$$ for huge executables. Bmail allows the user to automate the sending of email messages containing log files, data downloads or error messages on Win32 based computers.

Continue reading

Posted in Automation Tools, Software Testing, Visual Studio 2010 | Tagged , , | Leave a comment

How to use Verifyelementpresent in Selenium

You can use selenium.IsElementPresent(“element”) to see if a particular element is present on the web page. This is a very powerful function in selenium as you can use it with a if condition.
In this example I am first checking if there is an element //td[@class='Selenium'] on the web page. If yes then I click the element //td[@class='Selenium'] and continue checking the other conditions.

Continue reading

Posted in Selenium RC | Tagged , | Leave a comment