Hi,
What are principles of good testing scripts for automation?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sean StewartPosted Mar 28, 2012, 8:13 AM
Some of the principles are-
* Maintaining coding standards
* Proper errorhandling mechanisms
* Should have standardized format for defining functions, etc
Hope this might help you.....
Sam HobbsPosted Mar 24, 2012, 5:51 PM
SenthilkumarPosted Mar 24, 2012, 12:18 PM
The good testing scripts may the following qualities:
* Validate and verify the product/project that satifies the needs of the customer.
Are we building the product right? - Verification
Are we building the right product? - Validation
* Test the robustness, flexibility and stability of the product.
* Test the performance of the application in different scnarios.
* Check the functionality against the client requirements
* Measures of the scalability of the application.
* Test the data with different format, type and environment.
I suggest you to go through this well.
http://www.mjtnet.com/blog/2006/01/17/how-to-start-writing-an-automation-script/
Satyapriya NayakPosted Mar 24, 2012, 8:13 AM
-Document the automated tests
-Create reusable and maintable tests
-Build a framework and create testscripts based on it
-Set programming conventions and follow it. It will be useful to debugging and better understanding the testscripts.
-Always isolate the data from the script. Never hardcode the data in the script.
Thanks