What are principles of good testing scripts for automation?

Showing Answers 1 - 7 of 7 Answers

Preetha

  • May 27th, 2005
 

1. Proper code guiding standards 
2. Std format for defining functions, exception handler etc 
3. Comments for functions 
4. Proper errorhandling mechanisms 
5. The apprpriate synchronisation techniques

stefan

  • Apr 17th, 2012
 

Proper code guiding standards

  Was this answer useful?  Yes

Suma

  • Apr 22nd, 2012
 

Best practice for writing code : use the key word Dim before declare any variable.
using optional explicit ( if we declare any variable before start coding it does not show any errors.).
commenting the code also good practice.
Make the script as reusable.(By writing functions)
follow the debugging technique.
using Exceptional handling to handle errors in the code.
At the end of the clean up the memory.

  Was this answer useful?  Yes

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