GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing  >  Common
Go To First  |  Previous Question  |  Next Question 
 Common  |  Question 160 of 248    Print  
What makes the Test Script a good script or bad script. How can you tell just by looking at the script?

  
Total Answers and Comments: 5 Last Update: November 17, 2009     Asked by: DARYL 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
February 23, 2007 14:00:36   #1  
nimmi Member Since: February 2007   Contribution: 36    

RE: What makes the Test Script a good script or bad sc...
A good test script has the probability of finding maximum number of bugs whereas a bad test script is the other way around.
 
Is this answer useful? Yes | No
September 24, 2007 14:21:30   #2  
Pankaj        

RE: What makes the Test Script a good script or bad sc...
A good test script has the ability to detect the maximum numbers of errors with minimum numbers of test cases.
 
Is this answer useful? Yes | No
October 30, 2008 16:34:20   #3  
nkamuni_mca Member Since: December 2007   Contribution: 93    

RE: What makes the Test Script a good script or bad script. How can you tell just by looking at the script?
I agree that the best test script is the one which finds a lot of bugs apart from that....

The script is said to good... when it as the following...
  • It must be simple
  • It must be reusable
  • It is understanable - Doucumation
  • It must be Small.
Regards
Narin

 
Is this answer useful? Yes | No
April 15, 2009 12:00:47   #4  
vk1978 Member Since: February 2009   Contribution: 174    

RE: What makes the Test Script a good script or bad script. How can you tell just by looking at the script?
To make a script good one we need to maintain:

1) Description of the Script (Like Script Name author Date of Creation etc)
2) Followed coding standards are not(like declaring variables Intendation etc)
3) Included Comments where ever needed
4) Simple to understand
5) Creating Reusable functions where ever needed in the script

etc

Plz correct me if I am wrong

 
Is this answer useful? Yes | No
November 17, 2009 03:54:21   #5  
kurtz182 Member Since: November 2009   Contribution: 139    

RE: What makes the Test Script a good script or bad script. How can you tell just by looking at the script?
Just to be clear a test script can be authored for manual or automated testing.

If the test script is to be used for manual testing the it should:
1) identify prerequisites
2) describe test steps clearly and concisely
3) provide expectations
4) identify criteria for failure

If the test script is to be used as a test harness in a test repository with test engine then it should:
1) be simple
2) be concise
3) be clear
4) be reuseable

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape