CrazyEngineers Forum

******************************************
Welcome To CrazyEngineers (CE) – an online community of engineers from all over the world! With the younger CEan at 84 and the youngest at 16, CE boasts of professional engineers, students, professors, entrepreneurs, CEOs, geeks & nerds. We exchange innovative ideas, share knowledge, help each other and expand our worldwide network of engineers! You need not have a formal degree in engineering to be a part of CrazyEngineers! Need we say more?
Join CE! | Be a CE Ambassador! | Forgot password? | Sponsor CE | Contact Us
Navigation
Go Back   CrazyEngineers Forum > CE : Technical Discussions > Computer Science & IT Engineering
Reply

  #1 (permalink)
Old 15th February 2008, 03:47 PM
CEan - Value Adder
 
kidakaka's Avatar
 
I'm a Crazy Computer Science Engineer
Join Date: 18th October 2006
Location: Mumbai, Hyderabad
Posts: 461
Send a message via AIM to kidakaka Send a message via MSN to kidakaka Send a message via Yahoo to kidakaka Send a message via Skype™ to kidakaka
Default Regression testing

Can anyone shed more light on this?

I know why it is needed and all that at a theoretical level itself. What I need to know more about is -
  1. How to write automated scripts?
  2. Which software to use, what are the configurations of the same?
  3. How does this figure out in XP or Agile development?
Help appreciated!
kidakaka is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
  #2 (permalink)
Old 15th February 2008, 06:57 PM
Good Administrator
 
The_Big_K's Avatar
 
I'm a Crazy Electrical Engineer
Join Date: 26th November 2005
Location: Terra-Firma
Posts: 4,968
Send a message via Yahoo to The_Big_K
Default Re: Regression testing

Quote:
Originally Posted by kidakaka View Post
Can anyone shed more light on this?

I know why it is needed and all that at a theoretical level itself. What I need to know more about is -
  1. How to write automated scripts?
  2. Which software to use, what are the configurations of the same?
  3. How does this figure out in XP or Agile development?
Help appreciated!
Here we go..

1. How to write automated scripts?

There are a number of ways to write automated scripts. There are commercial tools available which let you write automate the scripts, execute them, create a report and much more. The most popular tool available in the market is QTP ( Quick Test Professional). There are others too, like Selenium (Browser add in, Open Source), Rational Robot, etc.

These tools either have their own scripting language or support different scripting languages. All you need to do is script the sequence of actions to be performed on your application to test it. The tool then runs the script and produces a detailed information about the execution.

2. Which software to use, what are the configurations of the same?
There are many tools available. Selenium, jWebUnit, httpUnit, QTP, Rational Robot etc. However the trouble ( ) with commercial software is that they are damn costly.


3. How does this figure out in XP or Agile development?
I guess I'll wait for someone to answer this
The_Big_K is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)
Old 16th February 2008, 03:22 PM
CEan - Value Adder
 
kidakaka's Avatar
 
I'm a Crazy Computer Science Engineer
Join Date: 18th October 2006
Location: Mumbai, Hyderabad
Posts: 461
Send a message via AIM to kidakaka Send a message via MSN to kidakaka Send a message via Yahoo to kidakaka Send a message via Skype™ to kidakaka
Default Re: Regression testing

Wow! Thanks a lot for the information Biggie, any idea about opensource applications?
kidakaka is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)
Old 16th February 2008, 07:49 PM
Good Administrator
 
The_Big_K's Avatar
 
I'm a Crazy Electrical Engineer
Join Date: 26th November 2005
Location: Terra-Firma
Posts: 4,968
Send a message via Yahoo to The_Big_K
Smile Re: Regression testing

Quote:
Originally Posted by kidakaka View Post
Wow! Thanks a lot for the information Biggie, any idea about opensource applications?
Yep, selenium is a tool developed by "Thoughtworks". Its very easy to use and supports many scripting languages. I'll have ask one of my friends to talk about this who is more experienced in the field of software testing.

I guess we have many CEans who are experienced in Software Testing. Maybe they can update us with more information.
The_Big_K is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)
Old 17th February 2008, 07:09 AM
CE - Apprentice
 
I'm a Crazy Computer Science Engineer
Join Date: 5th January 2007
Location: TN, India
Posts: 33
Send a message via Yahoo to akravikanth
Default Re: Regression testing

In computing field, Regression testing is used to uncover the bugs which has been introduced due to code changes... It is a continuous testing which does the same types of testing to ensure the changed source code or any bug which has been fixed is fine and does not affect any functionality or performance....

For automation of these tests, PERL is the most widely used language.

In my company, regression team will do the testing of the Source code Tree.

The theory is, Everyday developers will pull out the source code from the tree and they will start to work on the code.. After the change, they will commit the change to the tree. Likewise all individual feature developers will commit their own changes. The job of the regression tester is, after all the commit, they will run the tests on the source code tree to ensure that the code change by one or more developers is not affecting the functionality. So that, the next day when developer resumes the work, he can pull out the stable code from the tree again which avoids the double work when they happen to pull out the source code which is unstable and missing or loss in functionality.....
akravikanth is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)
Old 17th February 2008, 06:17 PM
CE - Apprentice
 
Archana Kannouj's Avatar
 
I'm a Crazy Computer Science Engineer
Join Date: 19th October 2007
Posts: 24
Default Re: Regression testing

Hi,



I am just trying to give you brief idea about QTP automation tool.



I am working on QTP (Automation Tool) from last two years. And I find it very easy.

You can record the steps and run it as many times as you want.
It is able to work with any web, java or windows client application

As regression testing is to test the old functionalities which should work fine after either implementing new functionalities or fixing a bug. Means again to test the same thing.
So it’s better to automate those kinds of test cases.

To start with QTP just install it and play with it. And QTP uses Vb script as its programming language, this makes it accessible to anyone with even minimal development experience and so whatever feature is provided by VB that all can be used while scripting in QTP.
In QTP you can automate your test case in two ways:
·Use Record and Play mode
·Or Write scripts by your own (using Descriptive programming)

And even if you use record mode to automate test case, you will find the generated code easy to understand. And it will give you details about the failure step as well(after executing the script), making your debugging process easier.
You can make common libraries that can be used by group of people.

If you need more information, do tell me


Thanks,
Archana
__________________
A man who won't die for something is not fit to live
Archana Kannouj is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)
Old 18th February 2008, 10:34 AM
CEan - Value Adder
 
kidakaka's Avatar
 
I'm a Crazy Computer Science Engineer
Join Date: 18th October 2006
Location: Mumbai, Hyderabad
Posts: 461
Send a message via AIM to kidakaka Send a message via MSN to kidakaka Send a message via Yahoo to kidakaka Send a message via Skype™ to kidakaka
Default Re: Regression testing

Thanks a lot for this information Archana!!

Will definitely ping if help is required.
kidakaka is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)
Old 18th February 2008, 01:22 PM
CE - Newbie
 
vips78's Avatar
 
I'm a Crazy Computer Engineer
Join Date: 12th April 2006
Posts: 3
Send a message via Yahoo to vips78
Default Re: Regression testing

Quote:
Originally Posted by kidakaka View Post
Can anyone shed more light on this?
Quote:
Originally Posted by kidakaka View Post

I know why it is needed and all that at a theoretical level itself. What I need to know more about is -
  1. How to write automated scripts?
  2. Which software to use, what are the configurations of the same?
  3. How does this figure out in XP or Agile development?
Help appreciated!


Please fin my inline comments:

1. How to write automated scripts?
Ans. What is a test script: -
A test script is an automated version of a test case. There are different ways of writing a test script but it depends upon the test tool that is being used for the automation activity.
The most common automation tools support record playback type of scripting, there are different recording modes available for recording too:
a. Context sensitive mode - Objects are identified with their context
b. Low level - objects are identified with the help of their XY coordinates.
c. Analog Recording Mode - Recording is done with the help of the mouse trace. (here an analog track is prepared with the detailed mouse movements.)

But depending upon the complexity of the targeted application descriptive programming may be required for the automation activity.

2. Which software to use, what are the configurations of the same?
Ans. The are lot many testing tools available in market but the tool selection depends upon the targeted application.

3. How does this figure out in XP or Agile development?
Ans: In Agile the test automation activity may be very useful for every sprint, as the the testing tool will catalyze the regression testing activity that may be done in order to check if the inclusion of the new features does not hamper the existing functionality. The automation tool will take over the re-testing job from the QA's so that they can concentrate more on the new feature rather than performing redundant activities.

I hope this answers your query. It’s a broad level description of the questions that you have asked. We can be more specific if you can provide more details regarding the application where you want to implement test automation.

Vips



__________________
Vips
vips78 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 08:19 PM.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Member comments are owned by the poster. Copyright © 2005-2008 CrazyEngineers.com. All rights reserved.Ad Management by RedTyger