Test script: Difference between revisions

Content deleted Content added
Removed VBScript since it's not usually used in writing tests. If you want to add QTP, add it in the tools section.
All automated tests can be brittle no matter how well written they are.
Line 15:
The major advantage of ''Automated testing'' is that tests may be executed continuously without the need for a human intervention. Another advantage over [[Manual testing]] in that it is easily repeatable, and thus is favoured when doing [[regression testing]]. It is worth considering automating tests if they are to be executed several times, for example as part of regression testing.
 
Disadvantages of poorly written automated teststesting are that theyautomated maytests beare fragileoften poorly written andor cansimply break during playback. Since most systems are designed with human interaction in mind, it is good practice that a human tests the system at some point. Automated tests can only examine what they have been programmed to examine. A trained manual tester can notice that the system under test is misbehaving without being prompted or directed. Therefore, when used in regression testing, manual testers can find new bugs while ensuring that old bugs do not reappear while an automated test can only ensure the latter.
 
One shouldn't fall into the trap of spending more time automating a test than it would take to simply execute it manually, unless it is planned to be executed several times.