LambdaTest Community

Find answers, support, and inspiration from other users

Questions
LambdaTest Community
Answered

What are the common mistakes a software tester do while performing automation testing?

I want to inquire about the most common mistakes a software tester do while performing automation testing, please someone help me with it.

Up Vote Down Vote 0 Votes
Posted 4 months ago

Answers


Following are the mistakes that can be made while performing automation testing and the ways through which you can deal with it.

  • No validation:

One of the biggest mistakes that test engineers and enterprises make is perhaps using test scripts without any validation. How you can be certain whether the test you are running is giving you valid intel about the quality of the product? Simply running scripts and automating the manual clicking process would not mean anything if the test scripts do not tell whether the product is not failing in unexpected areas.

What is the solution?

Script validation can be performed by using the checkpoints. The checkpoints can detect the page parameters, web objects, and the text that might be present on the page. You need to make sure that checkpoints are placed at various points.

  • Using playback and record for the scripts:

A lot of testers depend on playback and recording for creating the test scripts. But the fact is, that the record feature should only be viewed as a potential way to generate a skeletal script. Besides this, it should be viewed rarely as the final step of the script creation. So, if you are looking for effective automation testing, then you would need to customize the generated script.

What is the solution?

Customization of the script involves adding the checkpoints for validation as well as data parameterization. Besides this, it also requires script modularization such that several testers can work at the same time.

  • Using automation testing instead of manual testing:

Automation testing is an excellent way through which you can augment all your testing efforts. However, it is commonly seen that a lot of enterprises, as well as test engineers, often use automation testing as a replacement for manual testing. This is the reason they can’t achieve effective coverage and testing. Ideally, automated testing should be used to improve the manual testing.

What is the solution?

A checklist of features should be created, which can be used for automated testing. For example, you can create a web page having incoherent fonts and further test it. Make sure that you automate only a specific part of the script that would check for the fonts' errors.

  • Use of inappropriate test cases:

During the preparation of test cases, test engineers can sometimes commit mistakes that can result in inappropriate test cases. Hence, all these test cases don’t represent any application functions and flow.

What is the solution?

You can create a few sample test cases confined into one single test suite that would represent the complete functional flow of the application.

Considering only visible validation:

It is commonly seen that test engineers while testing applications only consider visible validations. So, you need to make sure that the validation is not restricted to visible elements such as button, page text, etc.

What is the solution?

It is necessary to have validations that would showcase that the process has been finished. For instance, you have an order entry system for placing an order. Further, you would definitely query the database to ensure that the order is saved in the right way into the database.

  • Implementing automation testing with an unclear strategy:

It is very commonly seen that test engineers perform automation testing with an obscure approach. So, if a clear software strategy is not implemented, then it can get challenging to measure success across the teams.

What is the solution?

Craft a solution in which build verification tests are automated first followed by smoke tests and then a ” dealer’s choice.” Verification and smoke tests are standard across teams, and they are more meaningful and measurable.

  • Thinking that automation testing takes a lot of time:

There are a lot of organizations and test engineers who believe that the process of manual testing takes less time than automation testing. But, to be honest, it is not always the case. You have to be realistic about the number of times you run the test. For example, if you run it manually within a sprint many times, then the manual testing process would take more time as compared to automation testing.

What is the solution?

You need to figure out which type of testing matches the goals of your project and the time it will take to produce the desired result.

Answer source: Common mistakes made while performing automation testing

Up Vote Down Vote 0 Votes
Posted 3 months ago