What are principles of good testing scripts for automation?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Does every software project need testers?

551


In Selenium how a test suit is run and report is generated.

1570


Explain me what is testng and why is it better than junit?

518


why should we choose VSTET(Visual Studio Team Edition for Testers) and not QTP?pleas give me the reasons for "WHY" we have web and client server app, supports power builder and on windows OS so this is the background of tech and envir things we have and now VSTET is good to use or not? if "NO" then tell me why

1788


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

552






List the five essential types of test steps?

570


hi i would like to know is there any training institue for Calabash,robotium and ui automator in hyderabad...urgent

2584


What type of scenarios can be automated?

574


Write a short compiled module which selects random numbers?

545


How does load testing work for websites?

627


Do you know what is functional testing?

580


How the object properties will be recognised by the tool If the functions/ statements are written manually?

1750


Can you do without a framework?

612


Explain me what is a framework and what are the frameworks available in rc?

527


What are pros and cons of automating tests at ui layer?

555