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

It is a 30 days project & the client is in Singapur and we have to submit daily report regarding 1) What are the completed works, 2) What are the Pending Works ,3) Work planed for next day. You are free to assume regarding the project. can anybody help me to write an email to the client or Senior person who is staying in abroad

0 Answers   ANZ,


Are reusable test cases a big plus of automated testing and explain why.

1 Answers  


Hi Can anyone tell me the site wherefrom I can Install latest version of QTP on my PC?

2 Answers  


How to Rcognize the Objects in the Web Page Dialog Using QTP

0 Answers  


what is nTier Architecture understanding what is Microsoft ASP.net, ASP and SQL understanding what is Web Application and eCommerce application understanding what is Unit, System, Regression, FAT testing ? Test Automation and Test Script Authoring

0 Answers  


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

0 Answers  


Describe common problems of test automation.

1 Answers  


Write a query to find second highest salary of an employee.

72 Answers   ABC, Cognizant, MegaSoft, Netwin Infosolutions, Nippon, Polaris, Satyam, SGS, TCS, Verisoft,


What are the types of testing we cannot do, by using automation tools

3 Answers   Maveric, Oracle,


I have a web page.In that i have two links called "gmail" and "gmail". Both links are look same.One link is at top of the page and other link is at bottomn of the page. How the automation tool can be recognized these link and make to click the link i want?

5 Answers  


If testing is done using white box testing,then what is the need of using Black box testing again? I mean when unit testing and Integration testing is done at Coding level, what is the need of testing again at testing level?

1 Answers  


What is functional and regression testing?

0 Answers  


Categories