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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Mar 24, 2012, 4:13 AM EDT
-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
SenthilkumarRank #387 · 6.5K reputationPosted Mar 24, 2012, 8:18 AM EDT
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/
Sam HobbsRank #107 · 20.5K reputationPosted Mar 24, 2012, 1:51 PM EDT
Sean StewartRank #5,857 · 284 reputationPosted Mar 28, 2012, 4:13 AM EDT
Some of the principles are-
* Maintaining coding standards
* Proper errorhandling mechanisms
* Should have standardized format for defining functions, etc
Hope this might help you.....