What are principles of good testing scripts for automation?



What are principles of good testing scripts for automation?..

Answer / siddesh c

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.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Automation Testing AllOther Interview Questions

Where to maintain information like login, password and url?

0 Answers  


Hi All, Is there any free automation tool for windows application and it's easy to use? I usually take a lot of time to regression test my application when there is a new build on live environments (about same 10 environments) I wish I know a automation tool to regression test and ofcourse it's free, easy to use (maybe using C#) Could anybody can advise to me a tool like that? I very appreciate ^^

0 Answers  


what is client server application.

2 Answers  


Tell me what type of scenarios can be automated?

0 Answers  


Tell me what is automation testing?

0 Answers  






What generally is the structure of a framework?

0 Answers  


Tell us how can we handle web-based pop-up?

0 Answers  


Explain what is the difference between findelement () and findelements ()?

0 Answers  


What are the most popular tools for automation testing?

0 Answers  


I want to learn the data base testing, how can I start my psactice? I already reading the books of basic for data base? If any other books that make my study simple please suggest.

0 Answers  


WHAT'S THE TESTER'S ROLE DURING MIGRATION OF CODE FROM TESTING TO PRODUCTION ENVIRONMENT

0 Answers   TCS,


How will you choose a tool for test automation?

1 Answers  


Categories