GeekInterview.com
Series: Subject: Topic:
Question: 126 of 142

What are principles of good testing scripts for automation?

Asked by: Interview Candidate | Asked on: May 27th, 2005
Showing Answers 1 - 3 of 3 Answers
Preetha

Answered On : 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

Yes  1 User has rated as useful.
  
Login to rate this answer.
stefan

Answered On : Apr 17th, 2012

Proper code guiding standards

  
Login to rate this answer.
Suma

Answered On : 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.

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.