Topics In Demand
Notification
New

No notification found.

Blog
Advantages and disadvantages of automated testing

March 6, 2019

786

0

Automated testing, if used correctly, can provide many benefits and benefits to a project. On the other hand, it has certain drawbacks and pitfalls that we should be aware of. In this article I will try to make out all the advantages and disadvantages of automated testing.

Benefits:
Condition check
Automated tests are a great way to confirm that an application is still functioning properly after changes are made to it. It is possible that after adding a new function to the application or fixing a bug, a new bug is added to the application, i.e. we can talk about a regression bug.

By completing the regression test run, we can quickly catch the bugs introduced by the new functionality, which will allow us to quickly identify the problem module. In this case, it is important to run tests after each build in order not to miss anything.

Quick report
The second advantage stems from the previous one. Using automation testing , developers can quickly and without the involvement of testers find out whether the functionality implemented by them is working correctly, if, of course, tests are run immediately after the build. It should be remembered that when using the API, the speed of passing the tests is significantly increased compared to the use of the UI.

Saving human resource
Passing automated tests takes some time, but still it is faster than testing by testers manually, especially when it comes to regression. While autotests are running, testers can perform tests not covered by automation.

Opportunity for developers to contribute to tests
For the most part, tests are written in the same language as the application. Therefore, developers can participate in writing autotests. Personally, I am not a supporter of such assistance and I think that developers should not be involved in the preparation and writing of tests, although the situations are different. Ideally, of course, only limit the exchange of experience.

Disadvantages of test automation :
False confidence in quality
Automated tests only check what they have been programmed for. The test can pass successfully, and the defect go unnoticed, and all because the test was not programmed to catch this bug. Before automating the test, make sure that the script for it is compiled correctly.

Unreliability
Automated tests can fail due to many factors. Such a factor could be a slight change in the UI – interface, a drop in service, problems with the network, and the workload of the test machine. If possible, try to minimize the number of such factors.

Automation is not a test.
Automated tests are just programmed steps for executing a script. Many who are faced with automation for the first time want to automate all test cases to get rid of manual testers. In fact, this is impossible. There are features in testing with which auto tests will not cope.

Maintenance tests
Writing automated tests takes time. Time will also be taken away and kept up to date. If you do not update the tests, then in regression, with a sufficient number of them, there will be a lot of falls and all their advantages will come to naught. You will have to sort out the flew tests from not updated, which takes a lot of time.

Slow feedback
Sometimes, after the first build with the new functionality, writing autotests takes more time than a manual run. Here we must proceed from the situation and priorities. If possible, try to start writing tests at the same time as the developers are writing a new functional. You can make some kind of blank / skeleton, and then add the necessary checks or locators after the build.


That the contents of third-party articles/blogs published here on the website, and the interpretation of all information in the article/blogs such as data, maps, numbers, opinions etc. displayed in the article/blogs and views or the opinions expressed within the content are solely of the author's; and do not reflect the opinions and beliefs of NASSCOM or its affiliates in any manner. NASSCOM does not take any liability w.r.t. content in any manner and will not be liable in any manner whatsoever for any kind of liability arising out of any act, error or omission. The contents of third-party article/blogs published, are provided solely as convenience; and the presence of these articles/blogs should not, under any circumstances, be considered as an endorsement of the contents by NASSCOM in any manner; and if you chose to access these articles/blogs , you do so at your own risk.


Download Attachment

15100-imgonline-com-ua-resize-6ns8fx0eij.jpg

© Copyright nasscom. All Rights Reserved.