What makes the Test Script a good script or bad script. How can you tell just by looking at the script?

Questions by DARYL   answers by DARYL

Showing Answers 1 - 0 of 0 Answers

Pankaj

  • Sep 24th, 2007
 

A good test script has the ability to detect the maximum numbers of errors with minimum numbers of test cases.

  Was this answer useful?  Yes

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

  Was this answer useful?  Yes

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

  Was this answer useful?  Yes

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 

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions