CrazyEngineers
  • Prasad
    Prasad

    MemberFeb 14, 2008

    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!
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Kaustubh Katdare

    AdministratorFeb 15, 2008

    kidakaka
    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 😀
    Are you sure? This action cannot be undone.
    Cancel
  • Prasad Ajinkya

    MemberFeb 15, 2008

    Wow! Thanks a lot for the information Biggie, any idea about opensource applications?
    Are you sure? This action cannot be undone.
    Cancel
  • Kaustubh Katdare

    AdministratorFeb 16, 2008

    kidakaka
    Wow! Thanks a lot for the information Biggie, any idea about opensource applications?
    Yep, selenium is a tool developed by "<a href="https://www.thoughtworks.com" target="_blank" rel="noopener noreferrer">Thoughtworks: A global technology consultancy | Thoughtworks</a>". 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.
    Are you sure? This action cannot be undone.
    Cancel
  • akravikanth

    MemberFeb 16, 2008

    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.....
    Are you sure? This action cannot be undone.
    Cancel
  • Archana Kannouj

    MemberFeb 17, 2008

    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
    Are you sure? This action cannot be undone.
    Cancel
  • Prasad Ajinkya

    MemberFeb 17, 2008

    Thanks a lot for this information Archana!! 😀

    Will definitely ping if help is required.
    Are you sure? This action cannot be undone.
    Cancel
  • vips78

    MemberFeb 17, 2008

    kidakaka
    Can anyone shed more light on this?
    kidakaka
    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 😁



    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register