Difference between revisions of "Refactoring the automation scripts"

From Test Automation Patterns
Jump to navigation Jump to search
(Created page with "<div id="content_view" class="wiki" style="display: block">'''<span style="font-size: 16px">Why do you need to refactor your automation scripts?</span>= <br /> <span style="fo...")
 
 
Line 1: Line 1:
<div id="content_view" class="wiki" style="display: block">'''<span style="font-size: 16px">Why do you need to refactor your automation scripts?</span>=
+
<div id="content_view" class="wiki" style="display: block"><span style="font-size: 16px">Why do you need to refactor your automation scripts?</span>
 
<br /> <span style="font-size: 16px">Please select the main reason to refactor the scripts in the list below:</span><br /> <br />  
 
<br /> <span style="font-size: 16px">Please select the main reason to refactor the scripts in the list below:</span><br /> <br />  
  

Latest revision as of 08:23, 2 July 2018

Why do you need to refactor your automation scripts?


Please select the main reason to refactor the scripts in the list below:

  1. The scripts have been generated using the capture feature of a tool. The issue TOOL-DRIVEN AUTOMATION gives you a list of the patterns that will help you solve it.
  2. The scripts are so complicated that nobody understands them.
  3. There are a lot of similar scripts and since it's not possible to check which scripts are actually in use, more refactoring work is done than is actually necessary. We call this issue SCRIPT CREEP: look it up in order to find out which patterns would help you solve it.
  4. The scripts work and you want to keep them that way. If you are trying to keep the code in your scripts clean and efficient, but your management thinks that it increases maintenance costs too much, you should look up the issue UNREALISTIC EXPECTATIONS. It will show you which patterns will help you most in such a case.

Return to Maintenance costs too high