Home  
 
  Ask Questions  
 
  Feed Back  
 
  My Questions  
 
  Contact Us  
 
  About Us  
 
 Interview Questions  
 Our Services  

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies

  • NEW INTERVIEW QUESTIONS.COM ACCOUNTS RECEIVABLES INTERVIEW QUESTIONS DETAILS


    NewInterviewQuestions.com - Home for World's Largest Interview Questions Website.

    A D V E R T I S E M E N T




    Add to My Questions Add to My Questions | Forward Forward | Print Print


    Question Question What is the Record and playback method in Testing?
    Answer Answer There are different methods for automating such tests. One is the record/playback method that leads to a very long script that can take days to run. It would systematically execute code to set the environment, and code to execute the test, alternating between these until finished with all test cases. This method requires a lot of maintenance and is lacking in error recovery and versatility. Breaking the script down into modular functions makes the code easier to maintain. The above test cases would require a unique function for each test: Test_1, Test_2, etc. There would also need to be a function to set the display resolution for the first set of tests and a function to set the baud rate for the second set. Each of these functions should return a value indicating whether the function was successful and leave the system in a known state. Rather than a long succession of executable lines of code, repeating lines are consolidated into a single function and our automated test becomes a set of function calls. The body of the test would look something like this:

    Call Function SetDisplay (800x600);

    Call Function RunDisplayTest_1();

    Call Function SetDisplay (1024x768);

    Call Function RunDisplayTest_1();

    And so on?.

    Call Function SetBaudRate (56K);

    Call Function RunComTest_1();

    Call Function SetBaudRate (9600);

    Call Function RunComTest_1();

    And so on?.

    This makes the script much shorter and more modular. If something must change in the code for running one of the tests, it only has to be changed in one place rather than multiple times throughout the script. Progressing further with this idea of minimizing the length of the script and reusing code, we can abstract out another layer of function calls. One more level of modularity will greatly increase the scripts versatility.

    In the above example, there is still a repeating pattern in the code. The functions SetDisplay and RunDisplayTest are called alternatively. This method is useful for running through every test, but not for running through a sample of tests. It is also not convenient for changing the order of the tests executed. These changes could be made by going into the script and changing code, but a user can more easily change the order of execution if the script is abstracted out one more layer.


    Debentureholder are those who provides long term loan at specific interest rate in term of cash and creditor provides only short term credit in term of cash for purchasing of goods.

    Answered By: senthil     Date: 4/13/2007

    © NewInterviewQuestions.com


    If you have the better answer, than send it to us. We will display your answer after the approval.
    Answer Answer:*
    Name Name:*
    Email Address Email Address:*
         Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
     


    Rate the above answer. Help us to know about the answer.
    Category Category Accounts Receivables Interview Questions
    Rating Rating (2.5) By 2 users
    Added Added 8/12/2006
    Views Views 153742
    Rate it Rate it!
    Free Offers Free Offers: 300 Free Magazines for you. No credit card required. No Shipping Charges. Absolutely Free for 1 Year.

    Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

    Notify me when better answer is posted!
    Email:


    A D V E R T I S E M E N T





     Sponsors  
    Latest 10 Answers
    VB script for coding ,
    class a:0-127 class b:128-191,class c:192-223 ,class d:224-uesing nassa
    2 3 3 3
    bcoz java doesn't support multiple inheritance
    because its graduation coarse and what i feel is that getting knowledge is more important than getting marks and whatever ur agregate is u must be that much technically strong
    Servlet is based on java language that uses to build up a webapplication.Servlet works on client server technology.
    Using WebServices.... by generating a WSDL file of XML and providing it to client
    now a days, the os mostly used in companies is only and only LINUX, the starting salary in LINUX will be around 20k++.
    ans is 8 only not 10 ..... try with TC.
    Improve your logic, never stop learning,be flexible with multiple technologies.

    G o o g l e Search

    Google

    Newinterviewquestions.com is a part of Vyom Network. Top



    Copyright ? 2008, newinterviewquestions.com. All rights reserved Privacy Policy

    Page URL: http://www.newinterviewquestions.com/interview/10619/Default.asp?cachecommand=bypass


    Download Yahoo Messenger